IDAX.LIST_PARAMS - List parameters for selected or all models
Use this stored procedure to list parameters for a selected model or for all models.
Authorization
The privileges held by the authorization ID of the statement must include at least one of the following authorities:
- CONTROL privilege on the model
- SELECT privilege on the model
- DATAACCESS authority
Syntax
IDAX.LIST_PARAMS(in parameter_string varchar(32672))
Parameter descriptions
- parameter_string
- Mandatory one-string parameter that contains pairs of <parameter>=<value> entries that are separated by a comma.
Returned information
The result set columns are as follows:
| Column name | Column type | Description |
|---|---|---|
| MODELSCHEMA | VARCHAR(128) | The schema of the analytics model that stores the model components |
| MODELNAME | VARCHAR(64) | The name of the analytics model |
| TASKSEQ | SMALLINT | Identifies the task that is used to create or update the model Each operation to create or update a model can be viewed as a task. Each of these tasks has a task sequence ID. For example, when a model is created, the task sequence is set to 1. When the model is updated, the task sequence ID is incremented, and the new ID stores the parameters of the update procedure. This way, the complete series of stored procedure calls of a model are stored. |
| PARAMETERNAME | VARCHAR(64) | The name of the parameter that is specified in the parameter string of the build procedure or update procedure for the model |
| PARAMETERTYPE | VARCHAR(64) | The data type of the parameter Contains SQL data type names |
| PARAMETERVALUE | VARCHAR(7680) | The value of the parameter as a string |
Example
CALL IDAX.LIST_PARAMS('where=MODELNAME=''My_Model''');