Execute a SQL query using JDBC

The JDBC is a pure Java API used to execute SQL statements. It
provides a set of classes and interfaces
that can be used by developers to write database applications.
The steps needed to execute a SQL query using JDBC:
1. Open a connection to the database.
2. Execute a SQL statement.
3. Process th results.
4. Close the connection to the database.

No comments:

Post a Comment