usp_ToggleDatabases

usp_ToggleDatabases is a simple procedure that will switch the names of two databases.One of the main problems with using sp_renamedb to switch databases is that the procedure will wait until the database is free before the rename can be completed. If the new live database is also in use then there is a likelyhood that […]

5 (1)

2005-08-04 (first published: )

479 reads

Blogs

Regression Testing SQL Saturday Naming

By

I started a poll today on the naming for future SQL Saturdays. You can...

Daily Coping 9 Apr 2021

By

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

Error creating Azure SQL Database

By

A quick post today, quite simply, the error message is: “code”: “ConflictingDatabaseOperation”,  “message”: “Operation on server x and database y is in progress.  Please wait a few minutes before trying again.” What...

Read the latest Blogs

Forums

Easing Back to the Office

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Easing Back to the Office

Missing Data

By Joe Celko

Comments posted to this topic are about the item Missing Data

Password Policy

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Password Policy

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers