25.01.2015 Views

Using Caché Objects - InterSystems Documentation

Using Caché Objects - InterSystems Documentation

Using Caché Objects - InterSystems Documentation

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.

Indices<br />

It collates any value containing only whitespace (spaces, tabs, and so on) as the SQL<br />

empty string.<br />

There are also a set of legacy collation types. These are not recommended for use with new<br />

code, as they are provide continued support for legacy systems. They are:<br />

• ALPHAUP — Removes all punctuation characters except question marks ( “” ) and<br />

commas ( “,” ), and translates all the lowercase letters to uppercase. Used mostly for<br />

mapping legacy globals.<br />

• MINUS — Makes the value numeric and changes its sign.<br />

• PLUS — Makes the value numeric.<br />

• SPACE — Translates the value into a string. Replaced by SQLSTRING.<br />

• STRING — Converts a logical value to upper case, strips all punctuation and white space<br />

(except for commas), and adds one leading blank space to the beginning of the string. It<br />

collates any value containing only whitespace (spaces, tabs, and so on) as the SQL empty<br />

string. Replaced by SQLUPPER.<br />

• UPPER — Translates all lower case letters into upper case letters. Used mostly for<br />

mapping legacy globals — replaced by SQLUPPER.<br />

66 <strong>Using</strong> <strong>Caché</strong> <strong>Objects</strong>

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

Saved successfully!

Ooh no, something went wrong!