delete table via SQLiteDatabase - Android Database

Android examples for Database:Table Drop

Description

delete table via SQLiteDatabase

Demo Code


//package com.java2s;

import android.database.sqlite.SQLiteDatabase;

public class Main {

    public static void deleteAllExcute(SQLiteDatabase db) {
        db.delete("sample_table", null, null);
    }//from   w  w  w .  j  a va  2s  .  c om
}

Related Tutorials