Created
April 8, 2014 14:13
-
-
Save Nisden/10130554 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select sys.objects.name, sys.objects.type_desc, LEN(OBJECT_DEFINITION(object_id)) - LEN(REPLACE(OBJECT_DEFINITION(object_id), CHAR(13)+CHAR(10), ' ')) +1 as lines from sys.objects where is_ms_shipped = 0 AND OBJECT_DEFINITION(object_id) IS NOT NULL order by lines DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment