title: grep a sentence from an SQL FIle
body: <p>I have a very large SQL file and want to extract a single create statement from the file. THe command I use is;</p>
  
  <pre><code>cat dbdump.sql |grep "CREATE TABLE site_summaries" &gt;newdump.sql
  </code></pre>
  
  <p>The problem with this approach is that the statemtn is spread over several lines and the grep only returns the first line. How do I continue the grep until it reaches a semi-colon denoting the end of the statement?</p>