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

Database

 
GeneralRe: ado Pin
ranjjj23-Nov-03 0:43
ranjjj23-Nov-03 0:43 
GeneralRe: ado Pin
ranjjj23-Nov-03 2:37
ranjjj23-Nov-03 2:37 
GeneralRe: ado Pin
Husein23-Nov-03 2:54
Husein23-Nov-03 2:54 
GeneralRe: ado Pin
ranjjj23-Nov-03 19:12
ranjjj23-Nov-03 19:12 
GeneralRe: ado Pin
ranjjj24-Nov-03 18:40
ranjjj24-Nov-03 18:40 
GeneralRe: ado Pin
Husein26-Nov-03 21:17
Husein26-Nov-03 21:17 
QuestionInserting identity columns with CommandBuilder generated commands? Pin
Carl Mercier20-Nov-03 7:51
Carl Mercier20-Nov-03 7:51 
AnswerRe: Inserting identity columns with CommandBuilder generated commands? Pin
Husein22-Nov-03 3:33
Husein22-Nov-03 3:33 
Of course the Identity column is not included in your SQL statement. Identity column is an auto-increment column. This is handled by the SQL Server which keeps track of the next number to be added to the identity column. But if you need the value of the Identity column after you added the row, use SELECT @@IDENTITY. Note that you should do this within the Stored Procedure or a batch query. If you send the data from a select statement and then send another statement, in this case SELECT @@IDENTITY, you might not get the right value as another user could have added a new row and the @@IDENTITY would return this new value or you might just get a NULL value.

Best regards,

Husein
GeneralChange row header in data grid Pin
SathishVJ20-Nov-03 6:39
SathishVJ20-Nov-03 6:39 
Generalsql dmo quest Pin
ranjjj19-Nov-03 18:28
ranjjj19-Nov-03 18:28 
GeneralRe: sql dmo quest Pin
Johnny Go-Lightly20-Nov-03 14:34
sussJohnny Go-Lightly20-Nov-03 14:34 
QuestionHow does DataView.RowFilter works? Pin
Alexandru Savescu19-Nov-03 7:11
Alexandru Savescu19-Nov-03 7:11 
AnswerRe: How does DataView.RowFilter works? Pin
Husein23-Nov-03 2:51
Husein23-Nov-03 2:51 
GeneralSelect reads from XML file in ado.net Pin
imran_shahid@msn.com18-Nov-03 21:24
imran_shahid@msn.com18-Nov-03 21:24 
Questionhow to apply filter to Master/Detail records in dataset Pin
imran_shahid@msn.com18-Nov-03 21:19
imran_shahid@msn.com18-Nov-03 21:19 
AnswerRe: how to apply filter to Master/Detail records in dataset Pin
gokselm22-Nov-03 14:31
gokselm22-Nov-03 14:31 
GeneralCursor Pin
Anonymous18-Nov-03 4:42
Anonymous18-Nov-03 4:42 
GeneralRe: Cursor Pin
Jeff Varszegi18-Nov-03 5:34
professionalJeff Varszegi18-Nov-03 5:34 
Generalcall ado nextrecordset failed Pin
zhangxinghai17-Nov-03 21:52
zhangxinghai17-Nov-03 21:52 
Questionhow to store xml data from xml file in database table Pin
Kris{PL}17-Nov-03 11:55
Kris{PL}17-Nov-03 11:55 
GeneralBorland C++ Builder DB usage Pin
EricCartman17-Nov-03 5:43
EricCartman17-Nov-03 5:43 
GeneralSQLObjectListPtr Pin
ranjjj17-Nov-03 3:14
ranjjj17-Nov-03 3:14 
GeneralSQLObjectListPtr Pin
ranjjj17-Nov-03 3:14
ranjjj17-Nov-03 3:14 
Generalsqldmo.tlh Pin
ranjjj16-Nov-03 22:33
ranjjj16-Nov-03 22:33 
Generallistdatabasepermissions Pin
ranjjj15-Nov-03 23:53
ranjjj15-Nov-03 23:53 

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.