Statements

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 12:37, 15 February 2008 by Ccornell (Talk | contribs)

Jump to: navigation, search



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