@@TIMETICKS (Transact-SQL)
Applies to: SQL Server Azure SQL Managed Instance
Returns the number of microseconds per tick.
Transact-SQL syntax conventions
Syntax
@@TIMETICKS
Note
To view Transact-SQL syntax for SQL Server 2014 (12.x) and earlier versions, see Previous versions documentation.
Return Types
integer
Remarks
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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla