Skip to main content

TimePrecision

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.

FeedbackOpens in a new tab