USE master
GO
EXEC sp_dboption Fox8, 'Single User', True
GO
-- if this command fails, use:
-- alter database Fox8 set single_user with rollback IMMEDIATE
EXEC sp_renamedb 'Fox8', 'Fox8NotUnicode'
GO
EXEC sp_dboption Fox8NotUnicode, 'Single User', False
GO
No comments:
Post a Comment