|
-
December 4th, 2008, 12:44 PM
#1
Return id from stored procedure
Hi!
I have a stored procedure (SQL 2000) in which i make an insert in a table. Some of the columns in the table are:
ID (int)
FileName (varchar)
[Time] (datetime)
The problem is that "ID" is the primary key, and configured as "Identity". Whenever I make an insert, the value of this field is automatically generated. I want to return the number that is generated at insert, but I don't know how to!? I hope someone can help me! Great forum btw...
/M
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|