API Definition
REPLACE PROCEDURE TDStats.InactivateStatJSON(
IN jIn JSON(3000) CHARACTER SET UNICODE,
OUT jOut JSON(3000) CHARACTER SET UNICODE)
JSON Keys
| JSON Key | IN/OUT | Data Type | Description |
|---|---|---|---|
| SCOID | IN | BIGINT | AutoStats assigned unique numeric identifier for an individual statistic under automated control. |
| DatabaseName | IN | VARCHAR(128) | Inactivates all statistics defined on the specified database. |
| TableName | IN | VARCHAR(128) | Further limit the inactivation to the statistics defined on a specified table of DatabaseName. |
| ObjectListName | IN | VARCHAR(128) | Specifies a previously defined list of objects whose statistics should be inactivated. See related API "CreateObjectList" in ObjectList APIs Syntax. |
| DropStat | IN | BOOLEAN |
Default is true. |
| NumInActivated | OUT | INTEGER | Number of statistics that were dropped or inactivated. |