Open topic with navigation

TIBCO ActiveSpaces® - Enterprise Edition 5.0.0

# Row Objects

A Row object retrieved from ResultSet contains the columns specified in the select list of a query. Each Row object retrieved from ResultSet must be closed when it is no longer needed. A Row object contains the methods to find out the data type of each of its columns, whether a column has a value, and the methods to retrieve a column's value by its data type.

The label of a column in the select list is used to access the data for each column. The columns of a row are accessed by using the label specified for the column in the select list using ActiveSpaces. For example,

    SELECT col1 AS myname FROM table1

where `myname` is used as the column label.

If a label was not specified for a column in the select list, the column's name from the table is used as the label. For example,

    SELECT col1 FROM table1

where `col1` is used as the column label.

If a label was not specified and the column of the select list is an expression, the expression string is used as the label. For example,

    SELECT col1, date('now') FROM table1 WHERE col1 <= 10

where the expression string, `date('now')`, is used as the column label.

When a label is specified for a column, or the column is an expression, the label, or expression must be used exactly as it was specified in the original query string and is case-sensitive. If a label was not specified for a column and the column is from the table, the label is not case-sensitive.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveSpaces® - Enterprise Edition

Copyright © 2009-2025. Cloud Software Group, Inc. All Rights Reserved.