Hi guys,
I would like to check if a record exists or not in a table. I have been searching the forum and I have found
this topic that is 5 years old! :-)
In that discussion, someone suggested to use something like:
using the database functionality for better performances instead of using next() or last() and getRow() on the ResultSet object returned by a select * query.
My problem is that I have no idea how to use
Java to send the
query and have back an int instead of a ResultSet.
Any ideas or suggestions? Thank you for your help!
Giovanni