No more orphan users!

I was fed up of manipulating sysusers after restoring a db from one server to another.Just put thgis script on QA after restoring db. It will check all db users (not tested for secure connections) and will restore orphan users. Check it out!Hope this script will help.

4 (1)

2003-02-03

816 reads

Blogs

Why oh Why? Effects of Antivirus on a DB Server

By

At best these phantom backups cause undue headache in troubleshooting. At worst, they make...

Your First Jupyter Notebook

By

In April, I said I was going to start learning Jupyter Notebooks. It’s November....

Using Visual Studio Code

By

I’m a creature of habit. I have my routine when I get to my...

Read the latest Blogs

Forums

Numeric and Decimal

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Numeric and Decimal, which is...

power shell script for add datetime to file

By adisql

Hi, i would like to generate csv file with datetime  through sql job with...

NOT Operator and NULLs

By kuopaz

--test data declare @T table(a int null, b int null) insert @T(a, b) select...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

Missing Data

See possible answers