Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Performance Management User's Guide


15.4.2 Supported expressions

The PFM ODBC driver supports the use of scalar operation expressions from only those in the selection list of the SELECT statement. Operation expressions and subqueries are not supported in search conditions such as the WHERE clause. Follow the standard rules for operator precedence, expression syntax, and the use of parentheses except for the following points:

Organization of this subsection

(1) Type conversion

The PFM ODBC driver supports all of the standard type conversions. Internally, a numerical type is one of the following types:

The type of each column is defined in the data dictionary of the ODBC Driver. For example, the SQL_SMALLINT-type column can be added to the SQL_DOUBLE-type column. The resulting column from additions is the smallest type to store the result, which in this case is the SQL_DOUBLE column.

(2) Values of date, time, and time-stamp

The PFM ODBC driver supports expressions including the following values, which indicate date, time, and time-stamp.

When using these values, the following rules are applied: