function examples sql server
This SQL Server tutorial explains how to use the LEAD function in SQL Server (Transact-SQL) with syntax and examples. In SQL Server (Transact-SQL), the LEAD function is an analytic function that lets you query more than one row in a table at a time without having to join the table to itself.
String Functions. Perform operations on a string (char or varchar) input value and return a string or numeric value. System Functions. Perform operations and return information about values, objects, and settings in an instance of SQL Server.
Higher-Precision System Date and Time Functions. SQL Server 2016 obtains the date and time values by using the GetSystemTimeAsFileTime() Windows API. The accuracy depends on the computer hardware and version of Windows on which the instance of SQL Server is running. The precision of this API is fixed at 100 nanoseconds.