Практическая лабораторная работа №1


| CHECK [ NOT FOR REPLICATION ] ( logical_expression )


Download 3.23 Mb.
Pdf ko'rish
bet81/207
Sana16.11.2023
Hajmi3.23 Mb.
#1778259
TuriУчебно-методическое пособие
1   ...   77   78   79   80   81   82   83   84   ...   207
Bog'liq
курс лаб по SQL 2008

| CHECK [ NOT FOR REPLICATION ] ( logical_expression )
}
 
 ::= 
column_name AS computed_column_expression
[ PERSISTED [ NOT NULL ] ] 
[
[ CONSTRAINT constraint_name ] 
{ PRIMARY KEY | UNIQUE } 
[ CLUSTERED | NONCLUSTERED ] 
[
WITH FILLFACTOR = fillfactor
| WITH (  [ , ...n ] ) 

| [ FOREIGN KEY ]
REFERENCES referenced_table_name [ ( ref_column ) ]
[ ON DELETE { NO ACTION | CASCADE } ]
[ ON UPDATE { NO ACTION } ]
[ NOT FOR REPLICATION ]
| CHECK [ NOT FOR REPLICATION ] ( logical_expression )
[ ON { partition_scheme_name ( partition_column_name )
| filegroup | "default" } ] 
]
 
 ::= 
column_set_name XML COLUMN_SET FOR ALL_SPARSE_COLUMNS 
 
< table_constraint > ::= 
[ CONSTRAINT constraint_name ]
{


81 
{ PRIMARY KEY | UNIQUE }
[ CLUSTERED | NONCLUSTERED ]
(column [ ASC | DESC ] [ ,...n ] )
[
WITH FILLFACTOR = fillfactor
|WITH (  [ , ...n ] )

[ ON { partition_scheme_name (partition_column_name) 
| filegroup | "default" } ]
| FOREIGN KEY
( column [ ,...n ] )
REFERENCES referenced_table_name [ ( ref_column [ ,...n ] ) ]
[ ON DELETE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } ]
[ ON UPDATE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } ]
[ NOT FOR REPLICATION ]
| CHECK [ NOT FOR REPLICATION ] ( logical_expression )

Download 3.23 Mb.

Do'stlaringiz bilan baham:
1   ...   77   78   79   80   81   82   83   84   ...   207




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling