Quest for SQL Server
Tuesday, July 20, 2010
Rename Database
ALTER DATABASE yafnet SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
SP_RENAMEDB yafnet,BballersForum
ALTER DATABASE BballersForum SET MULTI_USER
GO
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment