Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to find Size of All stored procedured in a SQL DB

Status
Not open for further replies.

Hpatel

IS-IT--Management
Apr 3, 2001
21
0
0
US
Hi,
I need to find out size of all the used defined stored procedures in the database. If this information is stored in a system table that would be great. Thank you for your help.

Hpatel
 
select b.name,datalength(a.ctext)+ datalength(a.text) from syscomments a,sysobjects b
where a.id=b.id and b.type='p'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top