Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Deleting Records in Batches wise

$
0
0

Hi All,

I need to delete 30 million records in my table.I want delete it batches wise.how to write batches statement for below condition.So i want delete before 2012 data.

 

select * from table where date<'1/1/2012'

 

Thanks

CMK...


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>