Mega Code Archive
Categories
/
MSSQL Tutorial
/
System Functions
Dbo use - If set to True means that only the user ID that created the database has access and can use the database
EXEC sp_dboption 'YourDatabaseName', 'dbo use', 'False' GO