Statements

From OpenOffice.org Wiki

Jump to: navigation, search
Image:Book.png
PAGE_TITLE: U3RhdGVtZW50cw==

The basic procedure to communicate with a database using an SQL statement is always the same:

  1. Get a connection object.
  2. Ask the connection for a statement.
  3. The statement executes a query or an update command. Use the appropriate method to execute the command.
  4. If the statement returns a result set, process the result set.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools