truncate table用法

Searching…

www.bing.com

¿Cuál es la diferencia entre TRUNCATE y DELETE?

2016年12月13日 · TRUNCATE reiniciará el contador para una tabla que contenga una columna IDENTITY. DELETE mantendrá el contador de la tabla para una columna IDENTITY. TRUNCATE es …

www.bing.com

sql - Truncate with condition - Stack Overflow

2010年10月3日 · truncate ->this resets the entire table, is there a way via truncate to reset particular records/check conditions. For ex: i want to reset all the data and keep last 30 days inside the table. Th...