Retrieving Values from Result Sets

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

Jump to: navigation, search



A call to execute() on a com.sun.star.sdb.RowSet or a call to executeQuery() on a Statement produces a com.sun.star.sdb.ResultSet.

 com.sun.star.sdbc.XResultSet xResult = xStatement.executeQuery("SELECT FIRSTNAME, LASTNAME, STREET " + 
     "FROM SALESMAN " + 
     "VWHERE BIRTHDATE < '1950-01-01'");
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools