SQL Server and MySQL Notes
Pages
Home
Contact Me
All Articles
Author Profile
Download Links
How to be DBA?
Thursday, January 27, 2011
Script to Rename Database
CREATE
DATABASE
sqldbpool
--Solution - I
EXEC
Sp_renamedb
'SQLDBPool'
,
'Jugal'
--Solution - II
ALTER
DATABASE
sqldbpool
MODIFY
name
=
jugal
2 comments:
riddhi Mishra
January 27, 2011 at 3:39 AM
Thanks for providing us valuable information and increasing our knowledge
Reply
Delete
Replies
Reply
Jugal Shah
January 27, 2011 at 3:45 AM
You welcome!!!
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Thanks for providing us valuable information and increasing our knowledge
ReplyDeleteYou welcome!!!
ReplyDelete