Android examples for Database:Table Drop
Drops the temp SQL table.
//package com.java2s; import android.database.sqlite.SQLiteDatabase; public class Main { /**//from w ww . jav a 2 s. com * Drops the temp table. * * @param db * a writeable database. */ public static void dropUpdateTableHelper(SQLiteDatabase db, String tempTable) { db.execSQL("DROP TABLE IF EXISTS " + tempTable + ";"); } }