Home Forums SQL Server 2016 SQL Server 2016 - Development and T-SQL Delete 5 lac records from table RE: Delete 5 lac records from table
John Mitchell-245523
SSC Guru
Points: 148809
More actions
February 9, 2018 at 1:31 am
#1979186
-- Subsititute x for the number of rows you're happy to-- delete at a time in order to limit transaction log growthDELETE TOP(x)FROM MyTableWHERE MyColumn = 'Non -US'-- Rinse and repeat
John