Page History
...
Note |
---|
Languages can only be set if the following conditions apply.
|
SQL Call to Procedure | |||||||||||
call setDeltaRange(p_id,p_deltaStartTime,p_deltaEndTime); | |||||||||||
Parameter | Description | Data type | Valid values | Example | |||||||
p_id | The identifier of the configuration table view (also the number of the snapshot or delta view number to which the setting applies). | TINYINT | 0, 1 or 2
| 1 | |||||||
p_lang_code | The date after which changes will be included in the delta view. | VARCHAR(5) | Any value that MySQL recognizes as a date or date-time. | 'en-GB' | |||||||
Example of Procedure Call | |||||||||||
| |||||||||||
Result | |||||||||||
If p_lang_code does not refer to a language code in the config_language file or if no valid refset or refset members are found the procedure reports an error. If the procedure succeeds, the language setting is changed but there is no output data. To check the result of the change, call showConfig() after resetConfig. |
...
The setDeltaRange procedure sets the snapshotTime for a configuration row specified by its id value.
SQL Call to Procedure | |||||||||||
call setDeltaRange(p_id,p_snapshotTime,p_deltaEndTime); | |||||||||||
Parameter | Description | Data type | Valid values | Example | |||||||
p_id | The identifier of the configuration table view (also the number of the snapshot or delta view number to which the setting applies). | TINYINT | 1 or 2 (Note: Values less than 1 or greater than 2 will be treated as referring to row 2) | 1 | |||||||
p_snapshotTime | The date for which the identified snapshot view will be computed. | DATETIME | Any value that MySQL recognizes as a date or date-time. | '2017-07-31' | |||||||
Example of Procedure Call | |||||||||||
| |||||||||||
Result | |||||||||||
The snapshotTime setting is changed but there is no output data. To check the result of the change, call showConfig() after resetConfig. |
...
The setDeltaRange procedure sets the deltaStartTime and deltaEndTime for a configuration row specified by its id value.
SQL Call to Procedure | |||||||||||
call setDeltaRange(p_id,p_deltaStartTime,p_deltaEndTime); | |||||||||||
Parameter | Description | Data type | Valid values | Example | |||||||
p_id | The identifier of the configuration table view (also the number of the snapshot or delta view number to which the setting applies). | TINYINT | 1 or 2 (Note: Values less than 1 or greater than 2 will be treated as referring to row 2) | 1 | |||||||
p_deltaStartTime | The date after which changes will be included in the delta view. | DATETIME | Any value that MySQL recognizes as a date or date-time. | '2016-07-31' | |||||||
p_deltaEndTime | The date on or before which changes with be included in the delta view. | DATETIME | Any value that MySQL recognizes as a date or date-time. | '2019-01-31' | |||||||
Example | ofProcedure Call | ||||||||||
| |||||||||||
Result | |||||||||||
The deltaStartTime and deltaEndTime settings are changed but there is no output data. To check the result of the change, call showConfig() after resetConfig. |
...