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:

  1. Thanks for providing us valuable information and increasing our knowledge

    ReplyDelete