SELECT @local_variable

  • Great question, thanks.

    - webrunner

    -------------------
    A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
    Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html

  • Easy one, thanks.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Or you might get

    Msg 208, Level 16, State 0, Line 7

    Invalid object name '#values'.

    if you have the misfortune to be working on a case-sensitive database.

    --
    Scott

  • Scott-144766 (8/4/2015)


    Or you might get

    Msg 208, Level 16, State 0, Line 7

    Invalid object name '#values'.

    if you have the misfortune to be working on a case-sensitive database.

    Awww!! Good point to know. I never thought about it.

    Thanks,
    Naveen.
    Every thought is a cause and every condition an effect

Viewing 4 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic. Login to reply