Hello everyone...A newby at SQL server. I'm being asked this question:
I'm looking at a stored procedure and there is a command I don't know.
it is
set @page_id=@@IDENTITY
now I know that @page_id is a user defined variable, but I don't know what the @@IDENTITY is. I looked at my sql manuals here and it does not say. So I think it is a sql 7 syntax or reserved word. Its not used in oracle or sybase which I have manuals here for.
Thanks in advance.
I'm looking at a stored procedure and there is a command I don't know.
it is
set @page_id=@@IDENTITY
now I know that @page_id is a user defined variable, but I don't know what the @@IDENTITY is. I looked at my sql manuals here and it does not say. So I think it is a sql 7 syntax or reserved word. Its not used in oracle or sybase which I have manuals here for.
Thanks in advance.