Created
October 26, 2015 12:57
-
-
Save pallid/06f43a2107ac5bb4e96e to your computer and use it in GitHub Desktop.
CreateDataBase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE DATABASE SQLtoDT1 | |
ON | |
PRIMARY (NAME=SQLtoDT1Data, | |
FILENAME='D:\SQL_BASE\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLtoDT1_data.mdf', | |
SIZE=200, | |
FILEGROWTH=200 ) | |
LOG ON ( | |
NAME=SQLtoDTLog1, | |
FILENAME='D:\SQL_BASE\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLtoDT1_log.ldf', | |
SIZE=1, | |
MAXSIZE=4096, | |
FILEGROWTH=50 | |
) | |
CREATE DATABASE SQLtoDT2 | |
ON | |
PRIMARY (NAME=SQLtoDT2Data, | |
FILENAME='D:\SQL_BASE\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLtoDT2_data.mdf', | |
SIZE=200, | |
FILEGROWTH=200 ) | |
LOG ON ( | |
NAME=SQLtoDTLog2, | |
FILENAME='D:\SQL_BASE\MSSQL11.MSSQLSERVER\MSSQL\DATA\SQLtoDT2_log.ldf', | |
SIZE=1, | |
MAXSIZE=4096, | |
FILEGROWTH=50 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment