title: Where does SQL Server store the stored procedure code?
body: <p>I once needed the lines of the stored procedures to be able to trace whether I have a reference to some function, procedure or table, or sometimes to try to find something inside of the sp's code.</p>
  
  <p>Where does SQL Server store the procedure's code?</p>