Truncate Table

  • Comments posted to this topic are about the item Truncate Table

    Vinay Kumar
    Keep Learning - Keep Growing !!!

  • Thanks for a nice clear question

    If everything seems to be going well, you have obviously overlooked something.


    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • Good one Vinay!

    Thanks 🙂

    ~ Lokesh Vij

    Guidelines for quicker answers on T-SQL question[/url]
    Guidelines for answers on Performance questions

    Link to my Blog Post -->[/url]

    Follow me @Twitter

  • Good one 🙂

    +1 😛

    To get quick answer follow this link:

  • good question... Looked something different

    You cannot get to the top by sitting on your bottom.

  • Whoops, guessed the wrong one. Nice question, learned something.

    Need an answer? No, you need a question
    My blog at
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • I'm happy to admit I didn't know that one - it does make sense logically but I had to check.

  • Nice straightforward question.


  • Good straightforward question.


  • This was removed by the editor as SPAM

  • Awesome, actually really nice one.

    (I had developed imaginary theory on this long back- what if the table is self joined with the key and would truncate work? - and I answered myself "probably yes - as it is a same table" - but never tried it practically, this was really good to see my imagination in the reality)

    ww; Raghu
    The first and the hardest SQL statement I have wrote- "select * from customers" - and I was happy and felt smart.

  • AAhhhh!!!!!! This one hurts.. I didn't trust my instincts and on top was lazy to check...

    If I can answer a question then anyone can answer it..trying to reverse the logic.. :hehe:

  • Interesting, good question.

  • Great question. Took a guess on this one and got it right. Definitely learned something today. Thanks!

    Everything is awesome!

  • Koen Verbeeck (3/28/2013)

    Whoops, guessed the wrong one. Nice question, learned something.

    +1 didn't realize this either... probably because in general the tables I want to truncate have additional foreign keys that depend on them 🙂

    Still... good to know.

    --Mark Tassin
    MCITP - SQL Server DBA
    Proud member of the Anti-RBAR alliance.
    For help with Performance click this link[/url]
    For tips on how to post your problems[/url]

Viewing 15 posts - 1 through 15 (of 33 total)

You must be logged in to reply to this topic. Login to reply