-- > create a sample database
USE master
GO
CREATE DATABASE SampleDB
ON PRIMARY
(NAME =
SampleDB_file1,
FILENAME = N'C:\Program Files\Microsoft SQL
Server\MSSQL12.SQL2014\MSSQL\data\SampleDB_1.mdf',
SIZE = 100MB,
FILEGROWTH = 10%),
FILEGROUP SampleDB_MemoryOptimized_filegroup CONTAINS MEMORY_OPTIMIZED_DATA
( NAME =
SampleDB_MemoryOptimized,
FILENAME = N'C:\Program Files\Microsoft SQL
Server\MSSQL12.SQL2014\MSSQL\data\SampleDB_MemoryOptimized')
LOG ON
( NAME =
SampleDB_log_file1,
FILENAME = N'C:\Program Files\Microsoft SQL
Server\MSSQL12.SQL2014\MSSQL\data\SampleDB_1.ldf',
SIZE = 100MB,
FILEGROWTH = 10%)
GO
No comments:
Post a Comment