汽车租赁公司CIS数据库系统的设计[6]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 lastking 的 blog

根据以上5个关系模式,sql server创建了数据库taxi,并为每一个关系模式创建了一个表

分别是:client_info,car_info,provider_info,reserve_info,price_info.

3.sql语句

sql server 导出的sql文件得到的:

/****** object:  database taxi    script date: 2004-9-11 14:41:45 ******/

if exists (select name from master.dbo.sysdatabases where name = n'taxi')

       drop database [taxi]

go

 

create database [taxi]  on (name = n'taxi_data', filename = n'c:\program files\microsoft sql server\mssql$ince1\data\taxi_data.mdf' , size = 2, filegrowth = 10%) log on (name = n'taxi_log', filename = n'c:\program files\microsoft sql server\mssql$ince1\data\taxi_log.ldf' , size = 1, filegrowth = 10%)

 collate chinese_prc_ci_as

go

 

exec sp_dboption n'taxi', n'autoclose', n'true'

go

 

exec sp_dboption n'taxi', n'bulkcopy', n'false'

go

 

exec sp_dboption n'taxi', n'trunc. log', n'true'

go

 

exec sp_dboption n'taxi', n'torn page detection', n'true'

go

 

exec sp_dboption n'taxi', n'read only', n'false'

本文关键:汽车租赁公司CIS数据库系统的设计
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top