Click here to Skip to main content
15,921,660 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get, in a stocked procedure, the id( which is an identity) of "insert" instruction currently executed which will be used in the second "insert" instruction
Posted
Comments
Sebastian T Xavier 4-Jun-12 8:39am    
please, at least correct your spelling !!!

please go through the following link

ident current[^]

SQL
SELECT IDENT_CURRENT(‘tablename’)


Regards
Sebastian
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900