• Lokesh Vij (6/13/2013)


    My eyes winked when I looked at this code

    DROP TABLE [dbo].[IndexTable]

    SELECT * FROM indextable

    Qotd aks about "the output of select statement", but as per the code this will give "error" 🙂

    Though I understood the intention and answered accordingly. A nice question otherwise. Thanks Chirag!

    same here

    +1 🙂

    _______________________________________________________________
    To get quick answer follow this link:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/