Haslett, Andrew
andrew.haslett at ilc.gov.au
Sun Feb 26 23:47:46 CST 2006
You should be able to query the INFORMATION_SCHEMA views for that type of info. Google should give you a few hits. Cheers, A -----Original Message----- From: dba-sqlserver-bounces at databaseadvisors.com [mailto:dba-sqlserver-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, 27 February 2006 2:12 AM To: dba-sqlserver at databaseadvisors.com Subject: [dba-SQLServer] Walk the lists of sprocs and udfs I want to walk the list of stored procedures and UDFs within a given database, using TSQL, and let's say print their names. Anyone know how to do that? Once I figure out how to do that, I then want to grab the source code for each sproc/udf and apply a Regex to it. TIA, Arthur _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com IMPORTANT - PLEASE READ *** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not.