sqlite3_exec usually returns an error code (int), and the last parameter can be a pointer to a string that will set an error message. What do those say?
sqlite3_exec(database, [sql UTF8String], MyCallback, nil, &errorMsg);
MPelletier
2010-08-12 14:17:02