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)
 insert

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-14 : 09:07:36
eran writes "I have a whole bunch of tables that look like this: (ID, ...) where ID is an indentity column. The ID column is followed by different columns in each table.

I would like to write code that inserts a new record to one of these tables and retuns the ID of the new record.

I would like this code to be the same for all tables. how do I do that?"
   

- Advertisement -