title: Finding SQL queries in compiled app
body: <p>I have just inherited a server application, however it seems that the only copy of the database is corrupt and the working version is gone, so is it possible to find what queries the application is running so I can try to rebuild the tables?</p>
  
  <p>Edit: I have some files with no extensions that I are named the same as the databases, IDK if there is anything that can be done with them but if anyone has any ideas.</p>
  
  <p>The accepted answer seems the most likely to succeed however I was able to find another backup so I have not tested it.</p>