Technical Article

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)

You rated this post out of 5. Change rating

2005-08-04 (first published: )

484 reads

Blogs

Announcements from the Microsoft Fabric Community Conference

By

(Shameless plug: The price of my book “Deciphering Data Architectures: Choosing Between a Modern...

The Basics of TRY CATCH Blocks–#SQLNewBlogger

By

I was working with a customer and discussing how to do error handling. This...

Working with ALS – Insights from the Ability Summit

By

The 14th annual Ability Summit is a global event that I attended a few...

Read the latest Blogs

Forums

Using data returned from sql

By kelly.fergus@gmail.com

Ok, I've come up with another problem in my project. I am happily pulling...

Deadlock problem with upsert

By Kavada

Hello people, I am an SQL beginner and I have a problem with the...

SSIS in Visual Studio File and Folder Structure

By cpiacente

Hello, I had an oddball question I was hoping someone could point me in...

Visit the forum

Question of the Day

Backing up the Resource Database

How does the Resource database in SQL Server 2022 get backed up?

See possible answers