Click here to Skip to main content
15,896,063 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL database works on IIS but not in client machines Pin
Rajesh Anuhya30-Nov-10 22:31
professionalRajesh Anuhya30-Nov-10 22:31 
GeneralRe: SQL database works on IIS but not in client machines Pin
saud_a_k1-Dec-10 0:35
saud_a_k1-Dec-10 0:35 
GeneralRe: SQL database works on IIS but not in client machines Pin
Eddy Vluggen1-Dec-10 7:03
professionalEddy Vluggen1-Dec-10 7:03 
GeneralRe: SQL database works on IIS but not in client machines Pin
saud_a_k3-Dec-10 18:48
saud_a_k3-Dec-10 18:48 
GeneralRe: SQL database works on IIS but not in client machines Pin
Eddy Vluggen4-Dec-10 2:18
professionalEddy Vluggen4-Dec-10 2:18 
AnswerRe: SQL database works on IIS but not in client machines Pin
G-Tek4-Dec-10 5:41
G-Tek4-Dec-10 5:41 
QuestionMaintain max x records Pin
Eduard Keilholz29-Nov-10 22:45
Eduard Keilholz29-Nov-10 22:45 
AnswerRe: Maintain max x records Pin
Mycroft Holmes30-Nov-10 0:05
professionalMycroft Holmes30-Nov-10 0:05 
Delete from mytable
where ID not in (select top 100 from mytable order bt ID desc)


This works fine and with the minute numbers you are working with it will be Ok, with serious numbers I would have a cleanup job that runs periodically
Never underestimate the power of human stupidity
RAH

GeneralRe: Maintain max x records Pin
PIEBALDconsult30-Nov-10 2:18
mvePIEBALDconsult30-Nov-10 2:18 
GeneralRe: Maintain max x records Pin
Eduard Keilholz30-Nov-10 2:45
Eduard Keilholz30-Nov-10 2:45 
GeneralRe: Maintain max x records Pin
David Skelly30-Nov-10 6:14
David Skelly30-Nov-10 6:14 
GeneralRe: Maintain max x records Pin
Chris Meech30-Nov-10 7:19
Chris Meech30-Nov-10 7:19 
GeneralRe: Maintain max x records Pin
Jason Christian1-Dec-10 6:52
Jason Christian1-Dec-10 6:52 
GeneralRe: Maintain max x records Pin
Eduard Keilholz30-Nov-10 20:16
Eduard Keilholz30-Nov-10 20:16 
GeneralRe: Maintain max x records Pin
Eduard Keilholz30-Nov-10 2:43
Eduard Keilholz30-Nov-10 2:43 
GeneralRe: Maintain max x records Pin
Mycroft Holmes30-Nov-10 11:25
professionalMycroft Holmes30-Nov-10 11:25 
GeneralRe: Maintain max x records Pin
Eduard Keilholz30-Nov-10 20:14
Eduard Keilholz30-Nov-10 20:14 
GeneralRe: Maintain max x records Pin
Spectre_0011-Dec-10 1:41
Spectre_0011-Dec-10 1:41 
AnswerRe: Maintain max x records Pin
Pete O'Hanlon30-Nov-10 4:55
mvePete O'Hanlon30-Nov-10 4:55 
AnswerRe: Maintain max x records Pin
PIEBALDconsult30-Nov-10 17:57
mvePIEBALDconsult30-Nov-10 17:57 
AnswerRe: Maintain max x records Pin
Dwayne J. Baldwin30-Nov-10 20:40
Dwayne J. Baldwin30-Nov-10 20:40 
AnswerRe: Maintain max x records Pin
Member 40648382-Dec-10 0:31
Member 40648382-Dec-10 0:31 
GeneralRe: Maintain max x records Pin
Eduard Keilholz2-Dec-10 1:05
Eduard Keilholz2-Dec-10 1:05 
Questionbest way to return is_exists Pin
Jassim Rahma29-Nov-10 22:35
Jassim Rahma29-Nov-10 22:35 
Questiondefault blob Pin
Jassim Rahma29-Nov-10 22:30
Jassim Rahma29-Nov-10 22:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.