日期:2014-05-17 浏览次数:20479 次
--代码创建 IF NOT EXISTS (SELECT name FROM master.dbo.sysdatabases WHERE name = N'abc') BEGIN CREATE DATABASE [abc] ON (NAME = N'abc_Data', FILENAME = N'D:\abc_Data.MDF' , SIZE = 12, FILEGROWTH = 10%) LOG ON (NAME = N'abc_Log', FILENAME = N'D:\abc_Log.LDF' , SIZE = 10, FILEGROWTH = 10%) COLLATE Chinese_PRC_CI_AS END GO