Click here to Skip to main content
15,911,139 members
Home / Discussions / Database
   

Database

 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l25-Jun-06 21:15
@myg@l25-Jun-06 21:15 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang26-Jun-06 4:59
Eric Dahlvang26-Jun-06 4:59 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 2:57
@myg@l28-Jun-06 2:57 
AnswerRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 3:16
Eric Dahlvang28-Jun-06 3:16 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 4:18
@myg@l28-Jun-06 4:18 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 4:30
Eric Dahlvang28-Jun-06 4:30 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 4:46
@myg@l28-Jun-06 4:46 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 5:04
Eric Dahlvang28-Jun-06 5:04 
It depends on where you are executing it from. If you call it from the SQL Query Analyzer, then:

declare @iIdentity int<br />
<br />
exec InsertStaffAccount 'John Smith','Male','123 5th Street','CEO',@iIdentity out<br />
<br />
print @iIdentity


Are you trying to call it from C++,C#,VB.Net,ASP.NET???

----------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters

GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l28-Jun-06 5:08
@myg@l28-Jun-06 5:08 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
Eric Dahlvang28-Jun-06 5:55
Eric Dahlvang28-Jun-06 5:55 
GeneralRe: Adding Auto-Increment ID in both parent and child table Pin
@myg@l1-Jul-06 8:00
@myg@l1-Jul-06 8:00 
Questionfor xml guide Pin
prasad kabbur20-Jun-06 23:50
prasad kabbur20-Jun-06 23:50 
GeneralRe: for xml guide Pin
User 171649221-Jun-06 13:03
professionalUser 171649221-Jun-06 13:03 
AnswerRe: for xml guide Pin
Graham Nimbley21-Jun-06 14:22
Graham Nimbley21-Jun-06 14:22 
Questioncan't save image in database Pin
md_refay20-Jun-06 22:24
md_refay20-Jun-06 22:24 
AnswerRe: can't save image in database [modified] Pin
Colin Angus Mackay20-Jun-06 22:33
Colin Angus Mackay20-Jun-06 22:33 
Questionlast value updated in sql server 2000 Pin
anj198320-Jun-06 21:33
anj198320-Jun-06 21:33 
AnswerRe: last value updated in sql server 2000 Pin
vivek-g20-Jun-06 23:01
vivek-g20-Jun-06 23:01 
AnswerRe: last value updated in sql server 2000 Pin
Mairaaj Khan22-Jun-06 3:34
professionalMairaaj Khan22-Jun-06 3:34 
Questionsql 2005 windows authentication vs sql auth. Pin
TintinV3ck20-Jun-06 20:15
TintinV3ck20-Jun-06 20:15 
AnswerRe: sql 2005 windows authentication vs sql auth. Pin
r.stropek20-Jun-06 23:35
r.stropek20-Jun-06 23:35 
QuestionProblem for retriveing record using between for date datetype Pin
sishya20-Jun-06 18:49
sishya20-Jun-06 18:49 
AnswerRe: Problem for retriveing record using between for date datetype Pin
Edbert P20-Jun-06 19:29
Edbert P20-Jun-06 19:29 
AnswerRe: Problem for retriveing record using between for date datetype Pin
vivek-g20-Jun-06 23:07
vivek-g20-Jun-06 23:07 
Generalworks fine.but one doubt Pin
sishya20-Jun-06 23:25
sishya20-Jun-06 23:25 

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.