Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Location
    DC
    Posts
    123

    Unanswered: passing a query into a variable

    What is the easiest way to pass a value into a variable...
    TSQL...

    declare @@test int

    --select count(*) from authors
    select count(*) into @@test from authors

  2. #2
    Join Date
    Jun 2006
    Location
    DC
    Posts
    123
    stupid question.... resolved it... guys...
    my apologies.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •