Click here to Skip to main content
15,921,226 members
Home / Discussions / Database
   

Database

 
Questionhow to find the 10th highest paid employee in an employee table Pin
saravanan0523-May-07 19:00
saravanan0523-May-07 19:00 
AnswerRe: how to find the 10th highest paid employee in an employee table Pin
Blumen23-May-07 19:17
Blumen23-May-07 19:17 
AnswerRe: how to find the 10th highest paid employee in an employee table [modified] Pin
Navneet Hegde23-May-07 19:54
Navneet Hegde23-May-07 19:54 
QuestionOracle SPs to SQL SP Pin
Blumen23-May-07 18:38
Blumen23-May-07 18:38 
QuestionAdding column values Pin
yuvachandra23-May-07 2:38
yuvachandra23-May-07 2:38 
AnswerRe: Adding column values Pin
Colin Angus Mackay23-May-07 3:50
Colin Angus Mackay23-May-07 3:50 
AnswerRe: Adding column values Pin
Expert Coming23-May-07 16:52
Expert Coming23-May-07 16:52 
GeneralRe: Adding column values Pin
Colin Angus Mackay23-May-07 22:52
Colin Angus Mackay23-May-07 22:52 
ExpertComing wrote:
Ok, actually you can do this very easily. Simply use a reader to read all the values in column 1 and add them to the same variable. Then add the value of the new insert to that same variable.


You haven't taken into consideration the order of the rows. The OP has given no indication of how he determines the order. So, how do you know you are reading the rows in the correct order? Remembers any order that the rows appear in the result set are merely a quirk of the implementation and not guaranteed.




Upcoming events:
* Glasgow: SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services...

Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton


My website

GeneralRe: Adding column values Pin
Expert Coming24-May-07 11:43
Expert Coming24-May-07 11:43 
GeneralRe: Adding column values Pin
Expert Coming24-May-07 11:46
Expert Coming24-May-07 11:46 
Questiondatabase Idea Pin
modiagag11122-May-07 23:26
modiagag11122-May-07 23:26 
AnswerRe: database Idea Pin
kubben23-May-07 2:20
kubben23-May-07 2:20 
GeneralRe: database Idea Pin
modiagag11123-May-07 4:33
modiagag11123-May-07 4:33 
GeneralRe: database Idea Pin
kubben23-May-07 4:37
kubben23-May-07 4:37 
QuestionHow to connect a computer with a remote sql database? Pin
Leia201122-May-07 21:55
Leia201122-May-07 21:55 
AnswerRe: How to connect a computer with a remote sql database? Pin
Harini N K22-May-07 22:42
Harini N K22-May-07 22:42 
GeneralRe: How to connect a computer with a remote sql database? Pin
Leia201123-May-07 2:26
Leia201123-May-07 2:26 
GeneralRe: How to connect a computer with a remote sql database? Pin
Colin Angus Mackay23-May-07 3:45
Colin Angus Mackay23-May-07 3:45 
Questiondatagridview Pin
kylinqiu22-May-07 19:57
kylinqiu22-May-07 19:57 
Questioncalculate the LEVEL Of Node of a tree having exactly two node. Pin
singhal's22-May-07 19:55
singhal's22-May-07 19:55 
AnswerRe: plz help me send me query for this plz!! Pin
leckey23-May-07 3:56
leckey23-May-07 3:56 
QuestionGetting new line in XML? Pin
chand1022-May-07 18:14
chand1022-May-07 18:14 
AnswerRe: Getting new line in XML? Pin
Christian Graus22-May-07 20:11
protectorChristian Graus22-May-07 20:11 
QuestionInstallation SQL 2005 Express from a network Pin
jimbassett22-May-07 10:42
jimbassett22-May-07 10:42 
QuestionVisual Studio and SQL database Pin
CassT22-May-07 6:22
CassT22-May-07 6:22 

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.