• kapil_kk (6/14/2013)


    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 🙂

    +1. A tad misleading given that the table would be dropped before the select statement is executed! Answered correctly though when put into correct context.


    MCITP
    MCTS - E-Business Card
    Twitter: WWDMark

    Try not! Do or do not, there is no try

    email: info@weekendwebdesign.co.uk
    Personal Website: http://markallen.co.uk/
    Business Website: https://www.weekendwebdesign.co.uk