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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ASCII<br />

ASCII<br />

Syntax<br />

76<br />

• If any of the arguments evaluates to NULL, the result is NULL.<br />

Compatibility<br />

Progress extension<br />

Returns the ASCII value of the first character of the given character expression.<br />

Example The following example shows how to use the ASCII function:<br />

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

ASIN<br />

Syntax<br />

ASCII ( char_expression )<br />

SELECT ASCII ( PostalCode )<br />

FROM Customer;<br />

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

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

• The ASCII function is character-set dependent and supports multi-byte characters. The<br />

function returns the character encoding integer value of the first character of<br />

char_expression in the current character set. If char_expression is a literal string, the<br />

result is determined by the character set of the <strong>SQL</strong> client. If char_expression is a<br />

column in the database, the character set of the database determines the result.<br />

Compatibility<br />

ODBC compatible<br />

Returns the arcsine of expression.<br />

ASIN ( expression )<br />

Example In the following example, which shows how to use the ASIN function, the first SELECT statement<br />

returns the arcsine in degrees, and the second returns the arcsine in radians:

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

Saved successfully!

Ooh no, something went wrong!