title: Is there a easy way to rename a table in procedure?
body: <p>I am using MariaDB 10.1 SQLyog 11.5</p>
  
  <p>I've renamed the table using below query.</p>
  
  <pre><code>ALTER TABLE old_name RENAME new_name
  </code></pre>
  
  <p>But there are many stored procedures that reference 'old_name'. I've opened all the SP creation query and changed. Because I don't know which SP has a query that reference old_name table.</p>
  
  <p>Is there a way to know which SP has queries that reference old_name table?</p>