Guest User

Untitled

a guest
Jan 23rd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. //String insert_db = "DELETE from actor WHERE actor_id = 202";
  2. //st.executeUpdate(insert_db);
  3.  
  4. ResultSet rs1 = st.executeQuery("SELECT * from actor WHERE actor_id < 20");
  5. while(rs1.next());{
  6. System.out.println(rs1.getString("first_name"));
  7. }
  8.  
  9. }catch(Exception e){
  10. //JOptionPane.showMessageDialog(null, e.getMessage());
  11. System.out.println(e.getMessage());
  12. }
Add Comment
Please, Sign In to add comment