Open topic with navigation

TIBCO ActiveSpaces® - Enterprise Edition 5.0.0

# Value Expression

A value expression specifies the value returned by a particular column for each row of the query results.

A value expression can consist of the following items:

- Column Identifiers
- Functions
- Literals (for example, 1234, 'somestring')
- Expressions (for example, x+y, x AND y)

A value expression can be given a label to use when accessing the data for each column in a row of the query results as shown in the following example:

    SELECT col1 AS c1 FROM mytable

If a value expression is not given a label, the entire string used to specify the value expression is used as the label as shown in the following example:

    SELECT col1, col2 + col3, 'row totals' FROM mytable

To access the columns in the rows of the query result for the SELECT statement above, the following labels would be used:

- 'col1'
- 'col2 + col3'
- 'row totals'

For more information about expressions, see SQL Expressions.
Subtopics

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.