Types of excute queries:

Statement.execute()-for all unknown queries
Statement.executeUpdate()-for insert, update,delete, alter
Statement.executeQuery()-for select(to get ResultSet)

No comments:

Post a Comment