• riya_dave (7/16/2013)


    hi

    i need to move data to another table and then remove from old one ,which i needs to delete 30 millions of rows,

    i know its taking time but any idea i can do it faster like in a batch

    After deleting 30 million rows from the old table, how many rows are left?

    How similar are the two tables?

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden