12.07.2015 Views

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

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.

4T<strong>SQL</strong> Functions4.1 Supported FunctionsThe following T<strong>SQL</strong> functions are implemented.4.1.1 ABSABS(num)Returns the absolute value of num. Thus both 123.99 and –123.99 return 123.99.4.1.2 ASCIIASCII(char)Returns the ASCII value for the first character in string char.4.1.3 CASTCAST(expression AS datatype)Returns the expression converted to the specified datatype. Only data types legal in the <strong>Caché</strong><strong>SQL</strong> CAST function are accepted.When expression is a date value string, such as '2004–11–23' and datatype is datetime ortimestamp, a time value of '00:00:00' is supplied.<strong>Caché</strong> <strong>Transact</strong>-<strong>SQL</strong> (T<strong>SQL</strong>) <strong>Migration</strong> <strong>Guide</strong> 27

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

Saved successfully!

Ooh no, something went wrong!