Delete constraints - SQL Server 2005

This script will DELETE ALL constraints within the database that you define and in the following order: Foreign Key, Primary Key and then Unique Key.CAUTION:This script does not print out the ALTER TABLE statements, it drop the constraints immediately, therefore backup your database before testing or using this script. I ran the script below and […]

5 (3)

2007-09-19 (first published: )

4,011 reads

Data Dictionary - SQL 2005

I know there are several scripts out there showing you on how to create a data dictionary... I created this script for creating a data dictionary for SQL 2005. It stores the data into a table in the database that you choose. The script only stores the table name, column name, default value of the […]

5 (1)

2006-10-24 (first published: )

3,091 reads

Blogs

Do you have rarely used indexes that are hurting performance of writes?

By

We know that indexes are necessary for query performance but comes with overhead during...

Working with SQLSaturday SpeedPASSes – revamped!

By

In the Richmond, VA area, I am the organizer for our SQL Saturdays. Among...

Happy Hour at SQL in the City Austin

By

Tomorrow is SQL in the City 2019 – Austin. If you’ve registered, you’re going...

Read the latest Blogs

Forums

The Change Failure Rate

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Change Failure Rate

Table type

By Admingod

I just want to validate my use of a custom type. I'm doing a...

How to save collapse sections of the query window and save it like that

By itmasterw 60042

Hi, My manager would like it that when he collapses certain parts of the...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers