sqlite3 database.db
pragma table_info( TABLE_NAME ) 


Cursor ti = db.rawQuery("PRAGMA table_info(" + tableName + ")", null);
if (ti.moveToFirst()) {
	do {
		System.out.println("col: " + ti.getString(1));
	} while (ti.moveToNext());
}
© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha