title: Extract SQL from a Pivot Table in Excel
body: <p>I have an Excel 2007 file with data and a Pivot Table. I am migrating the data to a MSSQL database, but I would like to get the SQL from the Pivot Table. There is a way to do this?</p>
  
  <p>Thanks</p>