Difference between revisions of "Documentation/DevGuide/Database/Statements"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial author Sun Microsystems, Inc.)
 
m (1 revision(s))
(No difference)

Revision as of 12:37, 15 February 2008



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