13.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.

Supported Functions6.1.31 GETUTCDATEGETUTCDATE()Returns the current UTC (Greenwich Mean Time) date and time in the following format:yyyy-mm-dd hh:mm:ss.nTime is specified using a 24-hour clock, Fractional seconds are returned.6.1.32 HOST_NAMEHOST_NAME()Returns the system name of the current host system.6.1.33 INDEX_COLINDEX_COL(table_name,index_id,key,[,user_id])Returns the name of the indexed column in the specified table. table_name can be fully qualified. index_id is the numberof the table's index. key is a key in the index, a value between 1 and sysindexes.keycnt (for a clustered index) or sysindexes.keycnt+1(for a non-clustered index). user_id is parsed but ignored.6.1.34 ISNULLISNULL(expr,default)If expr is NULL, returns default. If expr is not NULL, returns expr.6.1.35 ISNUMERICISNUMERIC(expression)A boolean function that returns 1 if expression is a valid numeric value; otherwise, returns 0.6.1.36 LEFTLEFT(string,int)Returns int number of characters from string, counting from the left. If int is larger than string, the full string is returned.See RIGHT.6.1.37 LENLEN(string)Returns the number of characters in string.<strong>Caché</strong> <strong>Transact</strong>-<strong>SQL</strong> (T<strong>SQL</strong>) <strong>Migration</strong> <strong>Guide</strong> 43

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

Saved successfully!

Ooh no, something went wrong!