title: Best way to store Sql Scripts in a database table
body: <p>I need to store stored procedure execution scripts in a database table.</p>
  
  <p>As an example:</p>
  
  <pre><code>exec proc_name 'somedata'
  </code></pre>
  
  <p>These are for execution at a later time after the data that will be changed has gone through a moderation process.</p>
  
  <p>What is the best way to cleanse the script so that the statement cannot be used for sql injection.</p>
  
  <p>Is there a specific type for encoding that I can use? Or is it as simple as doing a replacement on the <em>'</em></p>