出于对软件的认识 自己做了小程序 if not exists (select name from SYSDATABASES where name='bookDB') create database bookDB on primary ( name='bookmdf.mdf', filename='e:\DB\bookmdf.mdf', size=3mb, filegrowth=10% )