Rename Foreign Key Constraints

This script will rename all FK constraint names in your database.  It will give them a user friendly name that can be used in error messages, etc. The FK contraint names will be formatted as FK_ChildTableName_ParentTableName_soid. Note: You first need to enable 'Allow modifications to be made directly to the system catalogs'. This can be […]

2003-09-19

1,133 reads

Blogs

Using SQL Compare for One Procedure

By

A customer recently was concerned about the time to run SQL Compare for a...

Daily Coping 11 June 2021

By

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

Azure SQL Database – Secondary Database and Tiers

By

On the theme of failover groups let’s do a quick recap on my environment....

Read the latest Blogs

Forums

Tracking, Privacy, and Lots of Data

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Tracking, Privacy, and Lots of...

SQL Servers performance issues

By mtz676

2019 Standard and enterprise. Higly generic question here. Under similar setups baring versions do...

Distributed Availability Group setup for DR Standalone SQL server

By dastagiri16

Hi Team, We have primary DC which is having 3 nodes cluster and implemented...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers