Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 gettting list of @@IDENTITY

Author  Topic 

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2007-09-01 : 13:06:07
i am sending to a SP values
which insetred into a table (1 or more rows)
how can i return from a stored procedure this list of ID's?

thnaks i nadvance
peleg

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2007-09-01 : 13:13:15
use output clause
look for more info in BOL

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
   

- Advertisement -