<SqlStatement> Element (/EventClass/Chronicles/Chronicle/SqlSchema)
SQL Server 2000
Specifies a Transact-SQL statement to create a SQL Server event chronicle table.
Structure
<EventClasses>
<EventClass>
...
<Chronicles>
<Chronicle>
...
<SqlSchema>
<SqlStatement>
Element Characteristics
| Characteristic | Description |
|---|---|
| Data Type | string, between 0 and 100,000 characters in length. |
| Default Value | None. |
| Occurrence | Optional once or more per <SqlSchema> node. |
| Updates | Can be added, deleted, and modified using NSControl Update. |
Element Relationships
| Relationship | Elements |
|---|---|
| Parent Node | <SqlSchema> Node (/EventClass/Chronicles/Chronicle) |
Remarks
If you add, delete, or update a <SqlStatement> element, NSControl Update deletes the old chronicle table and creates a new, empty chronicle table. The data from the old chronicle table is permanently deleted.