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 2000 Forums
 SQL Server Development (2000)
 How do i get the id of the last inserted row?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-10-14 : 13:55:53
Trygve writes "Hi, im creating some simple stored procedures for inserting rows into a table, and now I need to get the ID of the last row inserted. I use the IDENTITY(1, 1) in the id row.
Im used to ORACLES Sequence object, but I hope I can get aroud that problem

I use SQLServer 7.0, Windows 2000 Advanced server.

Trygve"
   

- Advertisement -