Click here to Skip to main content
15,899,026 members
Home / Discussions / Database
   

Database

 
QuestionUpdate an image field Pin
imannasr27-May-08 18:55
imannasr27-May-08 18:55 
AnswerRe: Update an image field Pin
Christian Graus28-May-08 14:28
protectorChristian Graus28-May-08 14:28 
NewsSQL Server 2008 Jumpstart Event Dev Training Now Online Pin
brucedkyle27-May-08 16:16
brucedkyle27-May-08 16:16 
QuestionIncorrect syntax on output parameter? [modified] Pin
markymark8227-May-08 10:34
markymark8227-May-08 10:34 
AnswerRe: Incorrect syntax on output parameter? Pin
Christian Graus27-May-08 14:25
protectorChristian Graus27-May-08 14:25 
GeneralRe: Incorrect syntax on output parameter? Pin
markymark8228-May-08 0:02
markymark8228-May-08 0:02 
QuestionVery slow ORDER BY Pin
legionnaire27-May-08 7:23
legionnaire27-May-08 7:23 
AnswerRe: Very slow ORDER BY Pin
Christian Graus27-May-08 14:26
protectorChristian Graus27-May-08 14:26 
You need to do an order ASC in one of those queries for this to work. Then you don't need the 'not in', which is your problem. Select in desc order, ending with the first record you want. Then select in your outer query the number you want, in ASC order.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

QuestionVisual Studio Server Explorer issue... [modified] Pin
Rombolt27-May-08 6:21
Rombolt27-May-08 6:21 
QuestionUploading a website with a database Pin
Mohammad A Gdeisat27-May-08 5:36
Mohammad A Gdeisat27-May-08 5:36 
AnswerRe: Uploading a website with a database Pin
Krazy Programmer27-May-08 7:32
Krazy Programmer27-May-08 7:32 
Questionsql server connection?????or login with query analyzer???????????? Pin
mr.mohsen27-May-08 3:39
mr.mohsen27-May-08 3:39 
AnswerRe: sql server connection?????or login with query analyzer???????????? Pin
Mark J. Miller29-May-08 4:09
Mark J. Miller29-May-08 4:09 
QuestionSQL server 2008 – The latest version with improved performance on BI (video) Pin
zola112527-May-08 0:51
zola112527-May-08 0:51 
AnswerRe: SQL server 2008 – The latest version with improved performance on BI (video) Pin
yoei27-May-08 1:11
yoei27-May-08 1:11 
QuestionTriggers in SQLSERVER Pin
sukkureddy26-May-08 23:13
sukkureddy26-May-08 23:13 
AnswerRe: Triggers in SQLSERVER Pin
Ashfield26-May-08 23:27
Ashfield26-May-08 23:27 
QuestionAdvance Search Pin
Mogaambo26-May-08 21:31
Mogaambo26-May-08 21:31 
AnswerRe: Advance Search Pin
Blue_Boy26-May-08 22:27
Blue_Boy26-May-08 22:27 
GeneralRe: Advance Search Pin
Mogaambo26-May-08 22:54
Mogaambo26-May-08 22:54 
QuestionLet me know abot Sql Server security... Pin
PadmaPriya.S26-May-08 21:21
PadmaPriya.S26-May-08 21:21 
AnswerRe: Let me know abot Sql Server security... Pin
Ashfield26-May-08 21:27
Ashfield26-May-08 21:27 
GeneralRe: Let me know abot Sql Server security... Pin
PadmaPriya.S26-May-08 21:32
PadmaPriya.S26-May-08 21:32 
GeneralRe: Let me know abot Sql Server security... Pin
Ashfield27-May-08 1:34
Ashfield27-May-08 1:34 
AnswerRe: Let me know abot Sql Server security... Pin
Alsvha26-May-08 21:56
Alsvha26-May-08 21:56 

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.