posted 19 years ago
Hi
If you are working with insert, delete and update sql statement which returns the count, you would be working with executeupdate(). Mostly all DML statements.
If you are working with select sql statement, which returns resultset, you would be working with executeQuery().
Both of them throw SQLException.
Let me know if i am wrong.
Regards
Makarand Parab