@@TIMETICKS (Transact-SQL)
**APPLIES TO:** ![yes](media/yes.png)SQL Server (starting with 2008) ![no](media/no.png)Azure SQL Database ![no](media/no.png)Azure SQL Data Warehouse ![no](media/no.png)Parallel Data Warehouse
Returns the number of microseconds per tick.
Transact-SQL Syntax Conventions
Syntax
@@TIMETICKS
Return Types
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.
Examples
SELECT @@TIMETICKS AS 'Time Ticks';
See Also
System Statistical Functions (Transact-SQL)