title: Titanium: How to check Table is exists or not in Database?
body: <p>How can I check weather specific <strong>table</strong> does exists or not in my <strong>database</strong> before execute query ? </p>
  
  <p>Example : I want to check weather <strong>Detail</strong> table exists or not in <strong>InfoDB</strong></p>
  
  <p>I want to do some thing like :-</p>
  
  <pre><code>var createDB = Titanium.Database.open('InfoDB');
  if(Detail exists in InfoDB)
    then
      var rs = createDB.execute('SELECT * FROM Detail');
  </code></pre>
  
  <p>Thanks...</p>