Android examples for Database:Table Index
drop index for table in SQLiteDatabase
//package com.book2s; import android.database.sqlite.SQLiteDatabase; public class Main { public static void upgrade(SQLiteDatabase paramSQLiteDatabase, int paramInt1, int paramInt2) { paramSQLiteDatabase/*from w ww . j a v a 2s.c o m*/ .execSQL("drop index if exists clean_time_index"); paramSQLiteDatabase.execSQL("drop index if exists name_index"); paramSQLiteDatabase.execSQL("drop table if exists cache_file"); } }