FILEGROWTH = 10 ) LOG ON
( NAME = 'ÊÛƱ²¿ÃÅ',
FILENAME = 'd£ºÊÛƱ²¿ÃÅ.ldf', SIZE = 1MB, MAXSIZE = 5MB, FILEGROWTH = 1MB ) GO
1£®ÊÛƱ²¿ÃÅÐÅÏ¢¹ÜÀíϵͳ½¨±í
Create tableÊÛƱ²¿ÃÅ (
²¿ÃűàºÅ(30) primary key, ÊÛƱԱ±àºÅvarchar(30) ²¿ÃžÀíÃû varchar(30) ÊÛƱ varchar(30) ¶©Æ± varchar(30) µç»° varchar(30) µØÖ· varchar(30) ) £»
2ÊÛƱԱ¹ÜÀíϵͳ
Create table ÊÛƱԱ (
¹¤×÷Ö¤ºÅvarchar(30) primary key, ÐÕÃû varchar(30) Not null, ¹¤×Êvarchar(30) Not null, µç»° varchar(30), סַ varchar(30) , )
3ÊÛƱ´¦¹ÜÀíϵͳ
Create table ÊÛƱ´¦
( ÊÛƱ²¿±àºÅvarchar(30)primary key,
ƱµÄ±àºÅ varchar(30), ƱµÄÀàÐÍ varchar(30), ƱµÄ¼Û¸ñ varchar(30), ÊÛƱʱ¼ä varchar(30), ÊÛƱµØµã varchar(30), ÊÛƱÊýÁ¿ varchar(30) )
4¹ºÆ±Âÿ͹ÜÀíϵͳ
create table ¹ºÆ±ÂÿÍ
( Ëù¹ºÆ±±àºÅ(30) primary key, ¹ºÆ±ÊýÁ¿ varchar(30), ¹ºÆ±µØµãdatetime, ¹ºÆ±·½Ê½varchar(30), ¹ºÆ±ÊýÁ¿varchar(30), ÁªÏµ·½Ê½ Varchar(30) ) £»
5¶©Æ±´¦¹ÜÀíϵͳ
Create ¶©Æ±
( ƱµÄ±àºÅvarchar(30) primary key ¶©Æ±·½Ê½varchar£¨1MB£©
£¨
ÍøÉ϶©Æ±(30) ,
ÊÛƱ²¿ÃŶ©Æ±varchar(30)not null , µç»°¶©Æ± varchar(30), )
¶©Æ±ÀàÐÍvarchar(1MB), (¸öÈËƱ varchar(30)£¬ ÍÅÌåƱvarchar(30)£¬ ҹƱvarchar(30)£¬ £© £»
6¶©Æ±Âÿ͹ÜÀíϵͳ
create table ¶©Æ±ÂÿÍ
(Ëù¶©Æ±±àºÅ(30) primary key, Ëù¶©Æ±²¿ÃűàºÅ varchar(30 ¶©Æ±½ð¶î varchar(30), ¶©Æ±·½Ê½ varchar(30),
¶©Æ±Ê±¼ä varchar(30), ¶©Æ±ÊýÄ¿ varchar(30), ) £»
7ÍøÉÏ×¢²á¶©Æ±Âÿ͹ÜÀíϵͳ
Create ÍøÉÏ×¢²á¶©Æ±ÂÃ¿Í (×¢²áÓû§±àºÅ (30)not null,
Ëù¶©Æ±±àºÅ varchar(30) primary key£¬ Óû§Ãûvarchar(30),
µç»° varchar(30) Not null, µØÖ· varchar(30) Not null ) ;
8ÊÛƱÖÖÀà¹ÜÀíϵͳ
Create ÊÛƱÖÖÀà
(ƱµÄ±àºÅprimary key (30)not null, ƱµÄÖÖÀàvarchar(1MB)
£¨ ¸öÈËƱvarchar(30)not null , ÍÅÌåƱ varchar(30)not null, ҹƱ ) £»
9¸öÈËƱ¹ÜÀíϵͳ
Create¸öÈËƱ
not null , (ƱµÄ±àºÅ(30) primary key not null, ƱµÄ·ÖÀàvarchar(1MB) £¨
Ö¸¶¨ÈÕƱ varchar(30)not null , ƽÈÕƱ varchar(30) not null, ) £»
10Ö¸¶¨ÈÕƱ¹ÜÀíϵͳ
Create Ö¸¶¨ÈÕƱ
(ƱµÄ±àºÅprimary key (1MB) not null, ƱµÄ·ÖÀàvarchar(1MB) (
ÈÕÆÕͨƱ varchar(30)not null , Ö¸¶¨ÈÕÓÅ»ÝƱ varchar(30),not null, ) £»
11ƽÈÕƱ¹ÜÀíϵͳ£¨Æ±µÄ±àºÅ£¬Æ½ÈÕÆÕͨƱ£¬Æ½ÈÕÓÅ»ÝƱ£¬Ò¹Æ±£©
Create tableƽÈÕƱ
( ƱµÄ±àºÅ(30) primary key, ƱµÄ·ÖÀàvarchar(1MB) (
ƽÈÕÆÕͨƱvarchar(30), ƽÈÕÓÅ»ÝƱ varchar(30) 3´ÎƱ varchar(30), 7´ÎƱ Varchar(30) ҹƱ Varchar(30) ) ;
12ÍÅÌåƱÖÖÀࣨƱµÄ±àºÅ£¬ÆÕͨÍÅÌåƱ£¬Ñ§ÉúÍÅÌåƱ£©
Create ÍÅÌåƱÖÖÀà
(ƱµÄ±àºÅ(30) primary key not null, ÆÕͨÍÅÌåƱ varchar(30)not null , ѧÉúÍÅÌåƱ varchar(30),not null, £© £»
3´ÎƱ£¬7´ÎƱ£¬