站长资源数据库

Sql Server 创建数据库脚本Create DATABASE

整理:jimmy2024/12/23浏览2
简介Create DATABASE HappyRelaxDBon( NAME='HappyRelaxDB',FILENAME='D:\Sunny_Project\HappyRelaxPro\HappyRelaxDB.mdf')LOG ON(NAME='HappyRelaxDB_log',FILENA
Create DATABASE HappyRelaxDB
on( NAME='HappyRelaxDB',FILENAME='D:\Sunny_Project\HappyRelaxPro\HappyRelaxDB.mdf')
LOG ON(NAME='HappyRelaxDB_log',FILENAME='D:\Sunny_Project\HappyRelaxPro\HappyRelaxDB_log.ldf')
GO

以上黄色标记的为需要更改的内容