Jul 29, 2015

Script to count total numbers of lines in a stored procedure in SQL Server

Below script can be used to count total numbers of line inside a stored procedure in SQL Server

--Specific Procedure
DECLARE @ProcedureName AS SYSNAME = 'YourSpName'