Count number of lines in all stored procedures in current database(binaryelves.wordpress.com)

submitted by elfyelfy(230) 3 years, 9 months ago

Microsoft SQL Server 2005 I almost finished my current C# project where I have created a lot of stored procedures. By a lot I mean almost 200 :) (I know it is a personal feeling :)) Few days ago I was just curious how many lines I wrote in my stored procedures. To satisfy my curiosity I wrote T-SQL code which show me the truth ;) Blank lines with just Enter pressed are not counted. Score for my project database is: 142 stored procedures, 9419 lines (most of all 537 lines in one SP)

add a comment |category: |Views: 34

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story