Search
 
SCRIPT & CODE EXAMPLE
 

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';
Comment

rename database in sql

RENAME DATABASE  MODIFY NAME=emptestdb;
Comment

PREVIOUS NEXT
Code Example
Sql :: change column names mssql 
Sql :: create new table plsql 
Sql :: convert varchar to int in sqlite 
Sql :: mysql select last 15 minutes 
Sql :: change column name mysql command line 
Sql :: update with inner join 
Sql :: mysql show processlist full query 
Sql :: mysql find most common value 
Sql :: how to get list of synonyms in oracle 
Sql :: mysql connection with sqlalchecmy 
Sql :: select password from user mysql 
Sql :: mysql remove foreign key constraint 
Sql :: name of today sql 
Sql :: alter table add foreign key mysql 
Sql :: how to get current mysql version 
Sql :: get permissions postgre query 
Sql :: oracle extract minute from date 
Sql :: how to add auto increment primary key 
Sql :: update left join mysql 
Sql :: how to check database username and password in postgresql 
Sql :: get month of date sql 
Sql :: postgres update column with value from another table 
Sql :: postgresql define pk sequence next number 
Sql :: oracle list data files 
Sql :: sql query with replace function 
Sql :: display users in mysql 
Sql :: xampp mysql database server is not starting mac m1 
Sql :: group by 15 minute interval sql server 
Sql :: t-sql select min from two values 
Sql :: mysql get age from date 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =