Java tutorial
//package com.java2s; import android.database.sqlite.SQLiteDatabase; public class Main { static final String TABLE_NAME = "cache_data"; static void create(SQLiteDatabase db) { db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME); db.execSQL("CREATE TABLE [cache_data] ( " + " [set_name] TEXT, " + " [value] TEXT, " + " [tag] TEXT);"); } }