![]() |
|||
|
About Article
Assuming that a carriage return represents a line of code, this will count the lines of code in a SQL 2008 database:SELECT ROUTINE_NAME,ROUTINE_TYPE,LEN(ROUTINE_DEFINITION )-len(REPLACE(ROUTINE_DEFINITION,CHAR(10),'')) LOCFROM INFORMATION_SCHEMA.ROUTINESCOMPUTE...
Top News
Old Japanese Man Creates Amazing Art Using Excel (Wait, Excel?) Get the Insider News free each morning.Related Videos
Related Articles
|
||||||||||||||