Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --USE MyDB
- --GO
- --ALTER DATABASE MyDB set TRUSTWORTHY ON;
- --GO
- --EXEC dbo.sp_changedbowner @loginame = N'sa', @map = false
- --GO
- --sp_configure 'show advanced options', 1;
- --GO
- --RECONFIGURE;
- --GO
- --sp_configure 'clr enabled', 1;
- --GO
- --RECONFIGURE;
- --GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement