Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Counting number of lines in a stored procedure

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-04-28 : 14:01:11
salima writes "i need to write a select statemnt which will print number of lines in a stored procedure. pls advice ."

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-04-28 : 14:03:04
Take a look at syscomments system table.

Tara
Go to Top of Page

vijayakumar_svk
Yak Posting Veteran

50 Posts

Posted - 2004-04-29 : 07:37:46
Look at sp_helptext procedure code in master database.
Get the loginc fromthat sp and write a sp to do that.

Work smarter not harder take control of your life be a super achiever
Go to Top of Page
   

- Advertisement -