Wednesday 1 October 2014

Statement interface

Statement object is used to execute static SQL statements and gets the result back. All execution methods in the Statement interface implicitly close a current ResultSet object of the statement if an open one exists.

Statement objects enables you to execute both DDL(Data Definition language) and DML(Data Manipulation Language) Statements.

Data Definition Language
Data Definition language is used to create and destroy databases and database objects. Examples are creating a database, creating a table, dropping a table etc.,

Data Manipulation Language
Data manipulation language is used to manipulate data in databases.
Example: Inserting the data, deleting the data, updating the data in database etc.,




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment