🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #1307

Re: create table�����on�ؼ�����ʲô��˼?

#1307
From: Galaxy��VOLUNTEERS
Date: Tue, 23 Oct 2007 16:08
32 lines
2517 bytes
ON { <partition_scheme> | filegroup | "default" } 
Specifies the partition scheme or filegroup on which the table is stored. If 
<partition_scheme> is specified, the table is to be a partitioned table 
whose partitions are stored on a set of one or more filegroups specified in 
<partition_scheme>. If filegroup is specified, the table is stored in the 
named filegroup. The filegroup must exist within the database. If "default" 
is specified, or if ON is not specified at all, the table is stored on the 
default filegroup. The storage mechanism of a table as specified in CREATE 
TABLE cannot be subsequently altered.

ON {<partition_scheme> | filegroup | "default"} can also be specified in a 
PRIMARY KEY or UNIQUE constraint. These constraints create indexes. If 
filegroup is specified, the index is stored in the named filegroup. If 
"default" is specified, or if ON is not specified at all, the index is 
stored in the same filegroup as the table. If the PRIMARY KEY or UNIQUE 
constraint creates a clustered index, the data pages for the table are 
stored in the same filegroup as the index. If CLUSTERED is specified or the 
constraint otherwise creates a clustered index, and a <partition_scheme> is 
specified that differs from the <partition_scheme> or filegroup of the 
table definition, or vice-versa, only the constraint definition will be 
honored, and the other will be ignored. 


book on-line
 �� �� leonwzm 
( �Ÿ�) �Ĵ������ᵽ: ��: ����: CREATE TABLE ... : ( : ... : ) ON [PRIMARY]


--
http://bbs.sjtu.edu.cn/file/volunteers/1162217779160660.JPG

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 59.78.51.51]
Technical Details
Message-ID: <4WacXO$bSf@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!bbsnews.sdu.edu.cn!SJTUBBS

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,a7c918a1ec381416,start
X-Google-Attributes: gid101948,public,usenet
X-Google-Language: ENGLISH,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!bbsnews.sdu.edu.cn!SJTUBBS
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS)
Newsgroups: cn.bbs.comp.database
Subject: Re: create table�����on�ؼ�����ʲô��˼?
Date: 23 Oct 2007 16:08:14 GMT
Organization: ��ˮ˼Դ
Message-ID: <4WacXO$bSf@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1193155656.A
Lines: 32