How to Delete Record From SQLite for iPhone
<p>How to Delete all the Record From SQLite Database.</p>

<pre><code> +(BOOL)deleteFromtbl {
        sqlite3 *database;
        BOOL retValue = YES;
        if(sqlite3_open([databasePath UTF8String], &amp;database) == SQLITE_OK) {
            const char *sqlStatement = "Delete from tbl";
            sqlite3_stmt *compiledStatement;
            retValue = sqlite3_prepare_v2(database, sqlStatement, -1, &amp;compiledStatement, NULL);
            sqlite3_finalize(compiledStatement);
        }
        sqlite3_close(database);

        return retValue;        
    }
</code></pre>

<p>These code did not work for me.</p>

<p>Thanks in advance.</p>
