Truncate Table

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

    Thanks
    Vinay Kumar
    -----------------------------------------------------------------
    Keep Learning - Keep Growing !!!

  • Thanks for a nice clear question

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

    Ron

    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 --> www.SQLPathy.com[/url]

    Follow me @Twitter

  • Good one 🙂

    +1 😛

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

  • good question... Looked something different

    Manik
    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 https://sqlkover.com.
    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.

    Tom

  • Good straightforward question.

    -----------------
    Gobikannan

  • 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