创建数据库 USE master; GO --日记数据库 create database DiaryBase on ( name=DiaryBase_Dat,--逻辑名称 FILENAME='c:\DiaryBase.log', size=10MB, maxsize=50MB, FILEGROWTH=5MB ) log on ( name=DiaryBase_Log, FILENAME='c:\DiaryBase.mdf', size=10MB, maxsize=50MB, FILEGROWTH…