23.10.2012 Views

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

UPPER<br />

UPPER<br />

Syntax<br />

136<br />

• The result is of type CHARACTER.<br />

• If the argument expression evaluates to NULL, the result is NULL.<br />

• A char_expression and the result can contain multi-byte characters. The uppercase<br />

conversion is determined by the case table in the convmap file. The default case table is<br />

BASIC.<br />

Compatibility<br />

ODBC compatible<br />

Returns the result of the argument character expression after converting all the characters to<br />

uppercase.<br />

Example This example illustrates the UPPER function, returning columns from rows in the customer table<br />

where the last_name column, after being converted to uppercase, is equal to ‘SMITH’:<br />

Notes • The argument to the function must be of type CHARACTER.<br />

USER<br />

UPPER ( char_expression )<br />

SELECT *<br />

FROM customer<br />

WHERE UPPER (last_name) = 'SMITH' ;<br />

• The result is of type CHARACTER.<br />

• If the argument expression evaluates to NULL, the result is NULL.<br />

• A char_expression and the result can contain multi-byte characters. The uppercase<br />

conversion is determined by the case table in the convmap file. The default case table is<br />

BASIC.<br />

Compatibility<br />

<strong>SQL</strong> compatible<br />

Returns a character-string identifier for the user of the current transaction, as determined by the<br />

host operating system. This function takes no arguments, and the trailing parentheses are<br />

optional.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!