Results 1 to 4 of 4

Thread: select @@identity

  1. #1
    resh Guest

    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,

  2. #2
    Jim W Guest

    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,

  3. #3
    Jim W Guest

    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,

  4. #4
    Jim W Guest

    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
  •