1)进入数据库服务器,创建自己的数据库
use master go create database Dt_Devtest on primary(name=[Dt_new_data],filename='D:UserDBDt_Devtest_primary_Devtest01.mdf',size=100MB), filegroup rm_db_mem_Devtest contains memory_optimized_data (name=[ rm_db_mem_Devtest],filename='D:UserDBDt_Devtest_Devtest01') log on (name=[Dt_new_log],filename='D:UserDBDt_Devtest_log01.pdf',size=5MB) collate Latin1_General_BIN2 go alter database Dt_Devtest set memory_optimized_elevate_to_snapshot on
2)创建完后检查下mdf文件