• Interests: Scuba Diving, Guitar, Reading

Technical Article

Improved Move indexes to new file group

This is an improved and expanded version of the previously posted script that moves indexes to a new file group. This version will:1. Create new filegrup and files for indexes2. Script out and recreate indexes on new drive3. NEW* output report to text file4. NEW* Will run with enclosed wrapper for ALL DATABASES ON THE […]

4.33 (3)

You rated this post out of 5. Change rating

2006-03-22 (first published: )

2,010 reads

Technical Article

Replication PreScreen for proper Primary Keys

THIS TABLE WILL HODL YOUR TABLENAME AND UP TO THREE KEY COLUMNS FOR CREATING YOUR PRIMARY KEYSTHE OTHER COLUMNS ARE USED IN PROCESSING THE KEY'S AND GENERATING THE ALTER TABLE ASTATEMENTS TOCREATE THE PRIMARY KEYS FOR YOUR DB. THIS TOOL IS HANDY FOR PREPPING FOR A REPLICATION STRATEGY TO HELP YOU QUICKLY INDENTIFY IF YOU […]

You rated this post out of 5. Change rating

2005-08-03 (first published: )

363 reads

Technical Article

LOG SHIPPING FROM SCRATCH

We were experiencing significant issues with Cross Domain Log Shipping, even after getting help from Microsoft. The main reason was that in SQL Server 2000 you cannot access the Log Shipping Wizard from a scripting interface. This set of stored Procedures is all you need to setup a good log shipping framework in your organization […]

You rated this post out of 5. Change rating

2005-08-01 (first published: )

3,008 reads

Blogs

PASS Data Community Summit 2024 Day 3 Keynote

By

It’s been an amazing week here, as well as a long week. I’m tired,...

A New Word: Skidding

By

skidding – v. intr. the practice of making offhand comments that sound sarcastic but...

PASS Summit – Thursday

By

Let’s start with the keynote. The biggest take away was how having to support...

Read the latest Blogs

Forums

Step by step guide to setup PostgreSQL on Docker

By Arvind Toorpu

Comments posted to this topic are about the item Step by step guide to...

Backing up the Database Encryption Key

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Backing up the Database Encryption...

Technology Fears

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Technology Fears

Visit the forum

Question of the Day

Backing up the Database Encryption Key

In my SQL Server 2022 database, I run this:

USE Sales;  
GO  
CREATE DATABASE ENCRYPTION KEY  
WITH ALGORITHM = AES_256  
ENCRYPTION BY SERVER CERTIFICATE MyServerCert;  
GO
This works, but I want to prepare for the future and potential issues. How do I back up my DEK?

See possible answers