title: SQL query to get the source of a Stored Procedure
body: <p>I'm using a DB2 database and I'm hoping for a query which will iterate over all stored procedures in a single database and print out the source code of each. No fancy formatting or performance requirements. </p>
  
  <p>The reason for this (in case there's a better way of doing it) is I'm trying to track down usages of a particular table in our stored procs, so I want to be able to do a simple text search through all of them.</p>
  
  <p>Also, I've got access to SQuirreL SQL client if anyone knows of a way via that.</p>