Search

Wednesday, August 3, 2011

Rename Dabase Name using T-SQL sp_rename

CREATE DATABASE SQLDatabase

GO

sp_renamedb @dbname = 'SQLDatabase' , @newname = 'RenameDatabase'

GO

No comments:

Post a Comment