Search
 
SCRIPT & CODE EXAMPLE
 

SQL

alter database name script

USE master;  
GO  
ALTER DATABASE MyTestDatabase SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE MyTestDatabase MODIFY NAME = MyTestDatabaseCopy ;
GO  
ALTER DATABASE MyTestDatabaseCopy SET MULTI_USER
GO
Comment

PREVIOUS NEXT
Code Example
Sql :: sql drop database if exists 
Sql :: buscar nombre de columna en todas las tablas sql server 
Sql :: show column from sql server 
Sql :: ORA-00903 
Sql :: sql get month name 
Sql :: how to check xampp mysql password 
Sql :: how select a json value in mysql 
Sql :: create unique index postgres 
Sql :: racle create auto increment column 
Sql :: how to get data between a last week in mysql 
Sql :: oracle saurce code 
Sql :: select table column name in sql 
Sql :: check if table exists oracle 
Sql :: concate update mysq 
Sql :: sql create table statement 
Sql :: how to get the number of columns in a table in sql 
Sql :: mysql select if empty result 
Sql :: sql get last id 
Sql :: truncate table postgres 
Sql :: how to get nears location in mysql with latitude and longitude 
Sql :: sql identity column reset 
Sql :: copying query result to excel 
Sql :: how to change column name in sql 
Sql :: sql delete row with auto increment 
Sql :: get date from timestamp oracle 
Sql :: how to extract year from date in sql 
Sql :: postgresql distinct 
Sql :: inner join update 
Sql :: oracle pagination query offset 
Sql :: oracle case 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =