используйте это, это поможет вам
sqlite3_stmt *statement;
const char *dbpath = [databasePath UTF8String];
if (sqlite3_open(dbpath, &contactDB) == SQLITE_OK){
const char *insert_stmt = "INSERT INTO EMP (name) VALUES (?)";
if(sqlite3_prepare_v2(contactDB, insert_stmt, -1, &statement, NULL)==SQLITE_OK){
sqlite3_bind_text( statement,1, [name.text UTF8String], -1, SQLITE_TRANSIENT);
}
if (sqlite3_step(statement) == SQLITE_DONE)
NSLog(@"You have Sucessfully saved!");
else
NSLog(@"Failed to Save!");
sqlite3_finalize(statement);
}