Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

ms sql rename database

//*Rename MSSQL Database name*//
alter database mydb modify name = OLD;
//* Using SP_RENAME*//
SP_RenameDb N'OLD_DB', 'NEW_DB';
 
PREVIOUS NEXT
Tagged: #ms #sql #rename #database
ADD COMMENT
Topic
Name
3+9 =