Viewing post 1 (of 1 total)
ALTER DATABASE DBA SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
SP_RENAMEDB DBA,DBA1
ALTER DATABASE DBA1 SET MULTI_USER WITH ROLLBACK IMMEDIATE;
Hope this should work for you.
Thanks,
Vijay
September 19, 2002 at 9:48 am
#436874