Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.53 KB

File metadata and controls

58 lines (46 loc) · 1.53 KB
title @@TIMETICKS (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 09/18/2017
ms.prod sql
ms.prod_service sql-database
ms.reviewer
ms.suite sql
ms.technology t-sql
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
@@TIMETICKS_TSQL
@@TIMETICKS
dev_langs
TSQL
helpviewer_keywords
ticks [SQL Server]
@@TIMETICKS function
microseconds per tick [SQL Server]
time [SQL Server], ticks
number of microseconds per tick
ms.assetid 9d036633-837f-4309-9c45-3d9600258018
caps.latest.revision 28
author MashaMSFT
ms.author mathoma
manager craigg

@@TIMETICKS (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-xxxx-xxxx-xxx-md]

Returns the number of microseconds per tick.

Topic link icon Transact-SQL Syntax Conventions

Syntax

  
@@TIMETICKS  

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

System Statistical Functions (Transact-SQL)