hai i a'm trying to produce a sqlite database programmatically in the run time. can anybody say how you can create it in apple iphone sdk. thanks ahead of time

Just call the sqlite3_open function it'll produce a database if no database exist on the way.

// generate databasePath programmatically
if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) 
{

// your  code here
}

publish a comment if you want more code example about this