Skip to content

Instantly share code, notes, and snippets.

@SudarshanSMD
Created June 13, 2017 13:49
To change own er of db
USE [DB Name]
GO
EXEC dbo.sp_changedbowner @loginame = N'sa', @map = false
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment