Specifies the maximum number of digits in the result of any decimal arithmetic, for queries on the catalog store only.
1 - 127
126
Option can be set at the database (PUBLIC) or user level. At the database level, the value becomes the default for any new user, but has no impact on existing users. At the user level, overrides the PUBLIC value for that user only. No system privilege is required to set option for self. System privilege is required to set at database level or at user level for any user other than self.
Requires the SET ANY PUBLIC OPTION system privilege to set this option. Takes effect immediately.
Precision is the total number of digits to the left and right of the decimal point. The default PRECISION value is fixed at 126. The SCALE option specifies the minimum number of digits after the decimal point, when an arithmetic result is truncated to the maximum specified by PRECISION, for queries on the catalog store.
For IQ catalog store tables, the maximum value supported for the numeric function is 255. If the precision of the numeric function exceeds the maximum value supported, you see the error The result datatype for function '_funcname' exceeds the maximum supported numeric precision of 255. Please set the proper value for precision in numeric function, 'location'