is it possible?
I have a query
insert into myTbl (col1, col2)
select myFirstCol, mySecondCol from myTable2 where....
I want to find the first identity that insert.
if I write select @@identity, I got the last and I want the first.
is it possible
I have a query
insert into myTbl (col1, col2)
select myFirstCol, mySecondCol from myTable2 where....
I want to find the first identity that insert.
if I write select @@identity, I got the last and I want the first.
is it possible