• I executed the scriptin SQL Server 2005, Got following output -

    What you see...

    -----------------------

    print 1

    -- Comment one

    print 2

    -- Comment two

    print 3

    -- Comment three

    print 4

    is not what you get!

    -----------------------

    1

    2

    3

    4

    I want to understand why the output will be 1, 3, 4?? Can anyone explain how it is correct?