Scripts

Drop all Connections from a Database

On development servers, at times there is a need for dropping and renaming database(s). These scripts can be used for achieving these tasks. The usp_DropDB script will kill the connections to the database and then drop the database. It takes care of the space in the database name, if any and also makes sure that […]

5 (2)

2001-08-08

3,921 reads

Quickly Enable/Disable Triggers and Constraints

When loading data, nothing can be more frustrating than having to deal with stubborn constraints and triggers. This is especially true when you know your data is fine but the constraints are too prohibitive for a mass initial load. Here's a technique I use to disable the constraints and triggers temporarily during a mass load. […]

5 (1)

2001-08-08

2,950 reads

Blogs

Everything I Never Wanted to Know About Collation (14 minute video/podcast episode)

By

I'm not an expert on collation in SQL Server, but there are a few...

Do More, With Less

By

Next week, July 22 and 23, I’ll be presenting at Redgate Summit. Summt is...

Daily Coping 16 Jul 2020

By

I’ve started to add a daily coping tip to the SQLServerCentral newsletter and to...

Read the latest Blogs

Forums

Backup server

By Admingod

We will have backup server maintenance with the outage between 15mins to 1 hr....

Is SQL developer edition exactly the same as enterprise edition?

By tommiwan

Hey all, Regarding licensing of SQL server, we are considering the possibility of running...

Logging (auditing) in the table vs. having a logging (auditing) table

By Rod at work

I really like Steve Jones' editorial today, Carefully Giving Normal Users Security Permissions. I've...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers