2023-10-20
449 reads
2023-10-20
449 reads
2023-10-16
500 reads
This stored procedure will truncate a table even when other tables have FKs referencing columns in it. It drops the Fks, truncates the table, re-creates the FKs
2017-04-19 (first published: 2017-03-28)
832 reads
How do you grant a SQL Server developer truncate table permission without giving them the ability to alter the table? Check out the examples and explanation in this tip.
2012-01-16
3,333 reads
2010-02-05
4,783 reads
2014-09-29 (first published: 2010-02-04)
9,458 reads
Replacement script for usp_ShrinkDBLogs, updates for SQL 2008 deprecating the WITH TRUNCATE_ONLY method.
2009-11-27 (first published: 2009-10-30)
967 reads
2011-06-03 (first published: 2008-08-18)
1,078 reads
By Steve Jones
querinous – adj. longing for a sense of certainty in a relationship; wishing there...
Want to boost your SQL game? Check out this free course, SQL Subqueries: Real-World...
I have a measure with totals for specific dates with the LastNonEmpty aggregation, and...
I moved a table from MsSql to Postgresql that had a field defined as...
I tried to find an appropriate forum to post the question. This one seems...
If I use the Azure Backup service for automated backups of my SQL Servers in Azure VMs, how often can I configure log backups? (as of Dec 2024)
See possible answers