-
select @@identity
i am getting an 'Incorrect syntax' error while setting @@identity into a variable
declare @vcount int
set @vcount =Select @@identity
can someone help me?
regards,
-
select @@identity (reply)
Try set @vcount = @@identity
or
select @vcount = @@identity
------------
resh at 11/6/00 1:45:38 PM
i am getting an 'Incorrect syntax' error while setting @@identity into a variable
declare @vcount int
set @vcount =Select @@identity
can someone help me?
regards,
-
select @@identity (reply)
Try set @vcount = @@identity
or
select @vcount = @@identity
------------
resh at 11/6/00 1:45:38 PM
i am getting an 'Incorrect syntax' error while setting @@identity into a variable
declare @vcount int
set @vcount =Select @@identity
can someone help me?
regards,
-
select @@identity (reply)
Try set @vcount = @@identity
or
select @vcount = @@identity
------------
resh at 11/6/00 1:45:38 PM
i am getting an 'Incorrect syntax' error while setting @@identity into a variable
declare @vcount int
set @vcount =Select @@identity
can someone help me?
regards,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|