sql server cannot create database diagram code example Example: sql server cannot create database diagram EXEC dbo.sp_changedbowner @loginame = N'sa', @map = false