Logo 
Search:

SQL Server Articles

Submit Article
Home » Articles » SQL Server » System Statistical Functions RSS Feeds

@@TIMETICKS - TIMETICKS Function

Posted By: Sarita Patel     Category: SQL Server     Views: 2775

This article explains about @@TIMETICKS function in sql server with examples.

@@TIMETICKS function returns the number of microseconds per tick.

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.


Syntax of @@TIMETICKS Function :

@@TIMETICKS

Return type of above function is an integer.




Examples of @@TIMETICKS Function :

Example 1 : Use of @@TIMETICKS function in select clause 

SELECT @@TIMETICKS

Output
31250

Above example returns 31250 microseconds per tick.
  
Share: 


Didn't find what you were looking for? Find more on @@TIMETICKS - TIMETICKS Function Or get search suggestion and latest updates.

Sarita Patel
Sarita Patel author of @@TIMETICKS - TIMETICKS Function is from United States.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!