Caché Parameter File Reference
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   

Default time precision for SQL scalar time functions.
[SQL]    TimePrecision=n
The value n is the default time precision for the Time component of the value returned by the SQL Scalar functions GETDATE(), CURRENT_TIME, and CURRENT_TIMESTAMP. The precision is expressed as the number of decimal places allowed for the millisecond portion of the time value.
Range of Values
0–9. The default is 0, which means milliseconds are not returned in the time value.
Management Portal
On the page System Administration > Configuration > SQL and Object Settings > General SQL Settings, for the Default Time Precision for GETDATE, CURRENT_TIME, and CURRENT_TIMESTAMP setting, enter a number of decimal places.