Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Scripts with tag
delete
Search for
any
content tagged
delete
Add a script
Items 1 to 5 of 5
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,589 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...
By
Sylvia Moestl Vasilik
2010/05/26
|
Source:
SQLServerCentral.com
|
Category:
drop database objects
Rating:
|
Discuss
|
Briefcase
|
1,394 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,698 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/21
|
Source:
SQLServerCentral.com
|
Category:
delete
Rating:
|
Discuss
|
Briefcase
|
460 reads
Items 1 to 5 of 5
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.