hai i a'm trying to create a sqlite database programmatically at the run time. can anybody say how to create it in iphone sdk. thanks in advance
                +3 
                A: 
                
                
              Just call the sqlite3_open function it will create a database if no database exist on the path.
// generate databasePath programmatically
if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) 
{
// your  code here
}
post a comment if you need more code example on this
                  Saurabh
                   2010-08-30 10:21:06
                
              thanks saurabh.
                  KingofHeaven
                   2010-08-30 10:31:58
                Your most Welcome!
                  Saurabh
                   2010-08-30 10:35:39