// Deleting a record from SQL with JDBC in Java final Statement updater = conn.createStatement(); int resultCode = updater.executeUpdate( "DELETE FROM mboards WHERE manufacturer='Biostar' AND model='I945G-M7';" ); if ( resultCode == 1 ) { out.println( "record was actually deleted" ); }