How to rename SA account in SQL Server

You can use below script to rename SA account. Script will work with SQL Server 2005 and higer versions.

 ALTER LOGIN sa Disable;
ALTER LOGIN sa WITH NAME = [Jugal];

Comments

One response to “How to rename SA account in SQL Server”

  1. Sultan Avatar
    Sultan

    Thanks Jugal Shah, you script will be helpfull.

Thanks for the comment, will get back to you soon… Jugal Shah