CREATEINDEXidx_pname ONPersons (LastName, FirstName); DROP INDEX Statement TheDROP INDEXstatement is used to delete an index in a table. MS Access: DROPINDEXindex_nameONtable_name; SQL Server: DROPINDEXtable_name.index_name; DB2/Oracle: ...
CREATE INDEXStatement will look like this: CREATE[UNIQUE]INDEX[INDEX NAME] ON TABLE[COLUMN NAME] EXAMPLE : Want to create aINDEXon TableUserswhich is including column namesuser_fnameanduser_lname. SQL Statement: CREATE INDEXuser_name ONUsers (user_fname, user_lname)...
sql-statement ::=CREATE [UNIQUE] INDEX [IF NOT EXISTS] [database-name .] index-name ON table-name ( column-name [, column-name]* )column-name ::=name [ COLLATE collation-name] [ ASC | DESC CREATE INDEX命令由"CREATE INDEX"关键字后跟新索引的名字,关键字"ON",待索引表的名字,以及括弧...
CreateIndexStatement 类型公开以下成员。属性展开表 名称说明 Clustered 获取或设置是否使用 Clustered 关键字。 Columns 获取已定义列的列表。 FileStreamOn 获取或设置文件流规范。 FilterPredicate 获取或设置索引的可选筛选器谓词。 FirstTokenIndex 获取或设置第一个标记索引。 (继承自 TSqlFragment。) Fragment...
Here, the SQL command creates an index namedcollege_indexon theCollegestable using thecollege_codecolumn. SQL CREATE INDEX Syntax The syntax of the SQLCREATE INDEXstatement is: CREATEINDEXindex_nameONtable_name (column_name1, column_name2, ...); ...
[SerializableAttribute] public class CreateIndexStatement : IndexStatement CreateIndexStatement 类型公开以下成员。构造函数展开表 名称说明 CreateIndexStatement Initializes a new instance of the CreateIndexStatement class.页首属性展开表 名称说明 Clustered Gets or sets a value that indicates whether the Cl...
CreateIndexStatement CreateIndexStatement 建構函式 屬性 已叢集化 資料行 FileStreamOn FilterPredicate IncludeColumns OnFileGroupOrPartitionScheme Translated80SyntaxTo90 唯一 方法 CreateLoginSource CreateLoginStatement CreateMasterKeyStatement CreateMessageTypeStatement CreateOrAlterFunctionStatement...
CreateIndexStatement 类型公开以下成员。 构造函数 名称说明 CreateIndexStatement初始化 CreateIndexStatement 类的新实例。 页首 属性 页首 方法 展开表 页首 线程安全 此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
datatype基本Microsoft Jet SQL数据类型或其同义字之一。 sqlstatementSQL语句例如 SELECT, UPDATE, DELETE, INSERT, CREATE TABLE, DROP TABLE, and so on. 说明 由PROCEDURE 子句(指定过程名称的)、可选的参数定义列表和单个SQL 语句组成的 SQL 过程。 过程名不可能和当前表名一致。 请参阅 示例...
CREATE [ UNIQUE ] INDEXindexONtable(field[ASC|DESC][,field[ASC|DESC], …]) [WITH { PRIMARY | DISALLOW NULL | IGNORE NULL }] The CREATE INDEX statement has these parts: Expand table PartDescription indexThe name of the index to be created. ...