title: To open the database+iphone sdk
body: <p>Always unable to open the database.<br>
  I am trying to insert the data.The data get inserted perfectly..<br>
  But when I am calling the method to get the data(Select Query) at that time the data base is unable to open.<br>
  I had never closed the database.<br>
  Is it compulsory to close the database each and every time.?</p>
  
  <pre><code>if(sqlite3_open([self.databasePath UTF8String], &amp;database) == SQLITE_OK)
  </code></pre>
  
  <p>Thanks in advance</p>