Hello, I need help with SQLite. When adding a record to the database, I need to check whether such an entry exists. I do it like this:
String dbIf = "SELECT EXISTS(SELECT * FROM " + DBHelper.dbName + " WHERE " + DBHelper.barcodeIt + " = " + barcodeItem.getText().toString() + " LIMIT 1)"; sqlDB.execSQL(dbIf); Question: how can i pull out a java rezltat?