syntaxsql 複製 CREATE [ UNIQUE ] [ CLUSTERED | NONCLUSTERED ] INDEX index_name ON ( column_name [ ASC | DESC ] [ ,...n ] ) [ WITH <backward_compatible_index_option> [ ,...n ] ] [ ON { filegroup_name | "default" } ] ::= { [ database_name. [ owner_name ] . ...
Transact-SQL 语法约定 语法 syntaxsql复制 CREATESEQUENCE[schema_name. ]sequence_name[AS[built_in_integer_type| user-defined_integer_type] ] [STARTWITH<constant>] [INCREMENTBY<constant>] [ {MINVALUE[<constant>] } | {NOMINVALUE} ] [ {MAXVALUE[<constant>] } | {NOMAXVALUE} ] [CYCLE| {...
Use the out_of_line_constraint syntax to define an integrity constraint as part of the table definition.Note: You must specify a PRIMARY KEY constraint for an index-organized table, and it cannot be DEFERRABLE.See Also: the syntax description of out_of_line_constraint in the constraints...
syntaxsql CREATEDATABASEdatabase_snapshot_nameON(NAME=logical_file_name,FILENAME='os_file_name') [ ,...n ]ASSNAPSHOTOF[;] 引數 database_name 這是新資料庫的名稱。 資料庫名稱在 SQL Server 的執行個體內必須是唯一的,且必須符合識別碼的規則。
syntaxsql 复制 CREATE [ UNIQUE ] [ CLUSTERED | NONCLUSTERED ] INDEX index_name ON ( column [ ASC | DESC ] [ ,...n ] ) [ INCLUDE ( column_name [ ,...n ] ) ] [ WHERE <filter_predicate> ] [ WITH ( <relational_index_option> [ ,...n ] ) ] [ ON { partition_scheme_...
Syntax:CREATE[TEMPORARY]TABLE[IF NOT EXISTS]tbl_name (create_definition,...)[table_options][partition_options]CREATE[TEMPORARY]TABLE[IF NOT EXISTS]tbl_name[(create_definition,...)][table_options][partition_options][IGNORE | REPLACE][AS]query_expressionCREATE[TEMPORARY]TABLE[IF NOT EXISTS]tbl_na...
returned data types include a row type, array type, or cursor type; b) Must be used if the RETURNS TABLE clause specifies any syntax other than a column-list; c) Not supported if RETURNS ROW is specified; d) Not supported when defining a table function in a partitioned database ...
Transact-SQL 语法约定 语法 用户定义的数据类型语法: syntaxsql CREATETYPE[schema_name. ]type_name{FROMbase_type[ ( precision [ , scale ] ) ] [NULL|NOTNULL] |EXTERNALNAMEassembly_name[ .class_name] |ASTABLE( {<column_definition>|<computed_column_definition>[ , ...n ] [] [ , ...n ]...
returned data types include a row type, array type, or cursor type; b) Must be used if the RETURNS TABLE clause specifies any syntax other than a column-list; c) Not supported if RETURNS ROW is specified; d) Not supported when defining a table function in a partitioned database ...