Skip to content
Home » SQL Server Tutorials By Pradeep Raturi » Page 8

SQL Server Tutorials By Pradeep Raturi

SQL Server Lead Function

SQL Server LEAD() function is a Analytics function that provides access to a row at a specified physical offset which follows the current row.

Basically, LEAD() function provides access to a row at a given physical offset that follows the current row.

Loading

SQL SERVER @@IDENTITY

SQL Server @@IDENTITY function is a system function that is used to get the last IDENTITY value generated for any table with an identity column under the current session, regardless of the scope of the T-SQL statement that generated the value.

Loading