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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Database Access)
m (Robot: Changing Category:Documentation/Developers Guide/Database Access)
Line 16: Line 16:
 
{{PDL1}}
 
{{PDL1}}
  
[[Category:Documentation/Developers Guide/Database Access]]
+
[[Category:Documentation/Developer's Guide/Database Access]]

Revision as of 08:01, 5 June 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