• Lynn Pettis (1/15/2010)

    declare @TestTab table (TableID int, TableData varchar(32));

    set @TestTab = null;

    Result:

    Msg 137, Level 15, State 1, Line 2

    Must declare the scalar variable "@TestTab".

    Cheers - I could have just tested it 🙂 but I was too busy writing... And I would have got it right, had it been asking what I believed it to be asking 🙂

    -------------------------------Oh no!