if exists (select *
from master.dbo.sysdatabases
where name='Points')
drop database points
go
/*==============================================================*/
/* 建立数据库Points(请先在D:建立一个Points的文件夹) */
/*==============================================================*/
Create Database Points
on
(Name=Points_DAT,
FileName='d:\Points\Points_DAT.MDF',
Size=2MB,
FileGrowth=10%)
Log on
(Name=Points_LOG,
FileName='d:\Points\Points_LOG.LDF',
Size=1MB,
FileGrowth=10%)
go