Understanding Statement Interface
The Statement interface belongs to the java.sql package and is used to execute SQL statements from a Java application. A Statement object is created using the createStatement() method of the Connection interface. It can execute SQL commands such as SELECT, INSERT, UPDATE, and DELETE. The executeQuery() method is generally used for SELECT statements, while executeUpdate() […]
Understanding Statement Interface Read More »
