| title | @@TIMETICKS (Transact-SQL) | |||||
|---|---|---|---|---|---|---|
| description | @@TIMETICKS (Transact-SQL) | |||||
| author | MikeRayMSFT | |||||
| ms.author | mikeray | |||||
| ms.date | 09/18/2017 | |||||
| ms.service | sql | |||||
| ms.subservice | t-sql | |||||
| ms.topic | reference | |||||
| f1_keywords |
|
|||||
| helpviewer_keywords |
|
|||||
| dev_langs |
|
[!INCLUDE SQL Server Azure SQL Managed Instance]
Returns the number of microseconds per tick.
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions
@@TIMETICKS
integer
The amount of time per tick is computer-dependent. Each tick on the operating system is 31.25 milliseconds, or one thirty-second of a second.
SELECT @@TIMETICKS AS 'Time Ticks';