:: com :: sun :: star :: sdbc ::
|
interface XColumnLocate |
|
- Description
- provides the possibility to find columns by their name.
When several columns have the same name, then the value
of the first matching column will be returned. The column name option is
designed to be used when column names are used in the SQL
query. For columns that are NOT explicitly named in the query, it
is best to use column numbers. If column names are used, there is
no way for the programmer to guarantee that they actually refer to
the intended columns.
|
Methods' Summary |
findColumn |
maps the given ResultSet column name to its ResultSet column index.
|
Methods' Details |
findColumn
long |
findColumn( |
[in] string |
columnName ) |
raises( |
SQLException ); |
- Description
- maps the given ResultSet column name to its ResultSet column index.
- Parameter columnName
- the name of the column
- Returns
- the position of the column
- Throws
- SQLException
if a database access error occurs.
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.