Sql Server 创建数据库脚本Create DATABASE

(编辑:jimmy 日期: 2024/12/23 浏览:2)

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

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