<SqlStatement> Element (/EventClass/IndexSqlSchema)
SQL Server 2000
Specifies a Transact-SQL statement to create a SQL Server index on the event table.
Structure
<EventClasses>
<EventClass>
...
<IndexSqlSchema>
<SqlStatement>
Element Characteristics
| Characteristic | Description |
|---|---|
| Data Type | string, between 1 and 100,000 characters in length. |
| Default Value | None. |
| Occurrence | Optional once or more per <IndexSqlSchema> node. |
| Updates | Can be added, deleted, and modified using NSControl Update. |
Element Relationships
| Relationship | Elements |
|---|---|
| Parent Node | <IndexSqlSchema> Node (<EventClass>) |
Remarks
If you add, delete, or update a <SqlStatement> element, NSControl Update deletes and re-creates the event class to which it corresponds. This includes dropping and re-creating the SQL Server tables and indexes used by this event class.
Important If you add, delete, or update a <SqlStatement> element, any data existing in the original SQL Server tables is permanently deleted.