Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Content with tag delete Rss

   Items 1 to 20 of 22    Next 20 >>
 

Delete v Truncate

By Naseer Ahmad 2013/03/21 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 2,182 reads

Deleting large number of rows from a table in a VLDB

For enterprise systems, purging data is a reality. Today, we will see some strategies that I recently implemented to make this process work efficiently.  Read more...
By Nakul Vachhrajani 2013/03/08 (first published: 2011/03/24) | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 22,404 reads

Hidden Tricks To SQL Server Table Cleanup

How to delete millions of rows with virtually no contention.  Read more...
By Edward Polley 2013/03/06 | Source: SQLServerCentral.com | Category: delete
Rating: |  Discuss |   Briefcase | 12,119 reads

Generate MERGE statements with Table data

A stored procedure that produces a MERGE statement for a given table containing a VALUES clause for all rows, useful for migrating static data between environments.  Read more...
By Daniel Nolan 2012/10/08 | Source: SQLServerCentral.com | Category: generate
Rating: |  Discuss |   Briefcase | 2,596 reads

Generate MERGE statements with Table data

A stored procedure that produces a MERGE statement for a given table containing a VALUES clause for all rows, useful for migrating static data between environments.  Read more...
By Daniel Nolan 2012/10/08 | Source: SQLServerCentral.com | Category: generate
Rating: |  Discuss |   Briefcase | 2,596 reads

Large table cleanup with minimal locks

How do you delete millions of rows with minimal impact to the business? This article gives you a way to accomplish the removal of old data.  Read more...
By Edward Polley 2012/03/06 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 13,197 reads

Options to not replicate SQL Server DELETE commands

I have transactional replication configured in my production environment. The business team has requested that I do not replicate delete operations on certain articles. In this tip we look at a couple of options to not replicate DELETE commands.  Read more...
By Additional Articles 2011/11/04 | Source: MSSQLTips.com | Category: replication
Rating:  Rate this |   Briefcase | 2,025 reads

Difference between Truncate and Delete

This article explains you the differences between the Truncate and Delete commands in SQL.  Read more...
By Prashant Pandey 2011/07/04 (first published: 2007/11/22) | Source: SQLServerCentral.com | Category: delete
Rating: |  Discuss |   Briefcase | 27,530 reads

Deleting large number of rows from a table in a VLDB

For enterprise systems, purging data is a reality. Today, we will see some strategies that I recently implemented to make this process work efficiently.  Read more...
By Nakul Vachhrajani 2013/03/08 (first published: 2011/03/24) | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 22,404 reads

Deleting Large Number of Records

Often someone will try to perform a delete on a large number of records and run into a number of problems. Slow performance, log growth, and more. Lynn Pettis shows us how to better handle this situation in SQL Server 2000 and SQL Server 2005  Read more...
By Lynn Pettis 2011/02/18 (first published: 2009/09/15) | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 48,164 reads

Automated Trigger To Require a WHERE Clause

Learn how you can build triggers that prevent an update or delete statement from being run without a WHERE clause in this article.  Read more...
By Rahul Kumar Ghosh 2011/01/25 | Source: SQLServerCentral.com | Category: delete
Rating: |  Discuss |   Briefcase | 10,048 reads

The DELETE statement in SQL Server

Of the big four DML statements in SQL Server, the DELETE is the one least written about. This is odd considering the extra power conferred on the statement by the addition of the WITH common_table_expression; and the OUTPUT clause that essentially allows you to move data from one table to another in one statement.   Read more...
By Additional Articles 2010/12/13 | Source: SimpleTalk | Category: t-sql
Rating:  Rate this |   Briefcase | 5,710 reads

Easily delete database objects

The stored procedure sp_DropDatabaseObject is designed to easily drop a variety of database objects with extensive feedback to the user  Read more...
Rating: |  Discuss |   Briefcase | 1,394 reads

Identity Crisis

By dun 2009/10/29 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 4,706 reads

Deleting Large Number of Records

Often someone will try to perform a delete on a large number of records and run into a number of problems. Slow performance, log growth, and more. Lynn Pettis shows us how to better handle this situation in SQL Server 2000 and SQL Server 2005  Read more...
By Lynn Pettis 2011/02/18 (first published: 2009/09/15) | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 48,164 reads

Easily delete database objects

The stored procedure sp_DropDatabaseObject is designed to easily drop a variety of database objects with extensive feedback to the user  Read more...
Rating: |  Discuss |   Briefcase | 1,394 reads

The Safe and Easy Way to Delete All Data in a SQL Server DB

Deleting all the data in a SQL Server database doesn't have to involve complex code. The undocumented stored procedure sp_MSForEachTable safely bypasses built-in limitations to accomplish this common task.   Read more...
By Additional Articles 2009/03/03 | Source: DevX | Category: t-sql
Rating:  Rate this |   Briefcase | 4,078 reads

Truncate Referenced Table

Often during the development phase one is required to truncate a table. often the task of removing foreign key references is necessary to truncate. this sp takes the pain out of it.  Read more...
By Chris Morton 2009/01/19 | Source: SQLServerCentral.com | Category: foreign keys (fk)
Rating: |  Discuss |   Briefcase | 1,225 reads

Deleting old files (with/without archive bit)

A hopefully useful script to delete old files, not just backups, and make use of the archive bit.  Read more...
By Gaby Abed 2009/01/01 | Source: SQLServerCentral.com | Category: archive
Rating: |  Discuss |   Briefcase | 1,699 reads

Delete records in all related tables

Used to generate Select/Delete scripts. It does NOT run them. You need to copy the output of this script to a new window and run it manually.   Read more...
By David Jackson 2013/05/25 | Source: SQLServerCentral.com | Category: delete
Rating: |  Discuss |   Briefcase | 460 reads
   Items 1 to 20 of 22    Next 20 >>
 
Tags
t-sql (10)    
truncate table (3)    
update (2)    
archive (1)    
backup / restore (1)    
data (1)    
domain (1)    
drop database objects (1)    
drop function (1)    
drop indexes (1)    
drop procedure (1)    
drop tables (1)    
drop views (1)    
foreign keys (fk) (1)    
generate (1)    
identity property (1)    
insert (1)    
locking (1)    
lookup (1)    
maintenance (1)    
merge (1)    
metadata (1)    
migration (1)    
purge (1)    
reference (1)    
referenced tables (1)    
relationship (1)    
replication (1)    
sql server 2000 (1)    
sql server 2005 (1)    
static (1)    
store procedure (1)    
top (1)    
triggers (1)    
truncate (1)    
xp_cmdshell (1)