docs.intersystems.com
Home / Configuration Parameter File Reference / [SQL] / TimePrecision


Configuration Parameter File Reference
TimePrecision
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Default time precision for SQL scalar time functions.
Synopsis
[SQL]    TimePrecision=n
Description
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.
Examples
TimePrecision=0
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.


Previous section           Next section
View this book as PDF
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-02-16 22:58:51