• Sankar Reddy (2/10/2009)


    This is written as a trivia question and to raise awareness that certain questionable features will not be supported in future versions of SQL Server. Follow the link to learn about functionalities that might be going away in near future.

    Features Not Supported in a Future Version of SQL Server

    I do NOT recommend using this method and once again it is written to raise awareness.

    But, for now, this is legal T-SQL! 🙂

    declare @ int, @@ int create table

    # (_ int, _@ int, _@@ int) insert

    # values(1,1 - + + - -

    - - + - 1, 1 - + - + - +

    - - + - + - 1) select @=_,@@=_@ from

    # select * into

    ## from

    # drop table

    # drop table

    ##

    Derek