Suppose I have a table A with two colums - col1 (number) primary key and col2(Varchar(100)). If I insert a row into this table. Can we get value of last inserted value in the column col1 of this table using @@identity. As far as my understantding goes @@identity can be used for identity columns. Is there any way in which we can get value of last inserted column using @@identity?
Thanks
Varsha
Thanks
Varsha