how to use(or) create int identity in stored procedure
how to use int identity in stored procedure
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Deepak VermaPosted Dec 16, 2012, 11:24 PM
If you want to generate row number, have a look on this ROW_NUMBER (Transact-SQL).
And you can use "emp_id as int identity(1,1)", when creating temporary tables inside a Stored Procedure.
selvi subramanianPosted Dec 8, 2012, 12:24 AM
Vithal WadjePosted Dec 6, 2012, 4:42 AM
Blocked AccountPosted Dec 6, 2012, 4:35 AM
Can you define your problem in more detail?
Thanks