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

Improving DELETE performance - SQL Server 2012

$
0
0

Hi,

in a my stored procedure I need to use the DELETE statement, and I cannot use TRUNCATE TABLE, in order to deleting rows with a specific year. The table source has more tens of millions of rows and when I use the DELETE statement I need to deleting some ten of millions of rows.

Any ideas, please?

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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