bghanim
Active member
Hello all,
Is there an insert statment with the keyword returning in sql Server 2000 ?
for example,
insert into table_name (fname, lname, age)
values ('Baha', 'Ghanim', 23)
returning id into @tmp
table_name structure:
id = primary key
fname
lname
age
I've used this statement in Oracle, but Ineed something like it with sql Server 2000
Is there an insert statment with the keyword returning in sql Server 2000 ?
for example,
insert into table_name (fname, lname, age)
values ('Baha', 'Ghanim', 23)
returning id into @tmp
table_name structure:
id = primary key
fname
lname
age
I've used this statement in Oracle, but Ineed something like it with sql Server 2000
Last edited: