This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:sql:functions:home [2009/12/04 23:06] tdo |
dev:sql:functions:home [2012/10/26 14:28] (current) |
||
---|---|---|---|
Line 21: | Line 21: | ||
| [[ SUBSTRING]] | Return a specific part of a string. | | | [[ SUBSTRING]] | Return a specific part of a string. | | ||
| [[ SESSION_USER]] | Return the current Omnidex user. | | | [[ SESSION_USER]] | Return the current Omnidex user. | | ||
- | | [[ SYNONYMS]] | Use synonyms of a word or phrase as qualification criteria. | | ||
| [[ SYSTEM_USER]] | Return the current system user. | | | [[ SYSTEM_USER]] | Return the current system user. | | ||
| [[ TRIM ]] | Remove leading and/or trailing "pad" characters from a string. | | | [[ TRIM ]] | Remove leading and/or trailing "pad" characters from a string. | | ||
| [[ UPPER ]] | Convert all characters in a text string to upper case. | | | [[ UPPER ]] | Convert all characters in a text string to upper case. | | ||
| [[ USER ]] | Return the current Omnidex user. | | | [[ USER ]] | Return the current Omnidex user. | | ||
+ | |||
===== Omnidex Extended Functions ===== | ===== Omnidex Extended Functions ===== | ||
Line 32: | Line 32: | ||
^ Omnidex Functions ^ Description ^ | ^ Omnidex Functions ^ Description ^ | ||
| [[ $CALC_DATE ]] | | | | [[ $CALC_DATE ]] | | | ||
- | | [[ $COL_LEN]] | Return the length of a column as defined in the environment catalog. | | + | | [[ dev:sql:functions:col_length | $COL[UMN]_LENGTH ]] | Return the length of a column as defined in the environment catalog. Same as $COL_LEN. | |
- | | [[ $COLUMN_LENGTH ]] | Return the length of a column as defined in the environment catalog. Same as $COL_LEN. | | + | |
| [[ dev:sql:functions:contains:home | $CONTAINS ]] | | | | [[ dev:sql:functions:contains:home | $CONTAINS ]] | | | ||
| [[ dev:sql:functions:context:home | $CONTEXT ]] | Return snippets of text from data qualified in a $CONTAINS function. | | | [[ dev:sql:functions:context:home | $CONTEXT ]] | Return snippets of text from data qualified in a $CONTAINS function. | | ||
Line 40: | Line 39: | ||
| [[ $CURRENT_ROW ]] | Return the current row number. | | | [[ $CURRENT_ROW ]] | Return the current row number. | | ||
| [[ $DISTANCE ]] | | | | [[ $DISTANCE ]] | | | ||
- | | [[ $DOUBLE_METAPHONE ]] | | | ||
| [[ $EXTERNAL ]] | Execute an external user-defined function. | | | [[ $EXTERNAL ]] | Execute an external user-defined function. | | ||
| [[ [[ dev:sql:functions:highlight_criteria:home | $HIGHLIGHT_CRITERIA ]] | | | | [[ [[ dev:sql:functions:highlight_criteria:home | $HIGHLIGHT_CRITERIA ]] | | | ||
Line 48: | Line 46: | ||
| [[ [[ dev:sql:functions:lookup:home | $LOOKUP ]] | Retrieve textual metadata. | | | [[ [[ dev:sql:functions:lookup:home | $LOOKUP ]] | Retrieve textual metadata. | | ||
| [[ $LPAD ]] | Add leading "PAD" characters to a string. | | | [[ $LPAD ]] | Add leading "PAD" characters to a string. | | ||
- | | [[ $METAPHONE ]] | | | ||
| [[ $MOD ]] | Return "n modulus y" (remainder). | | | [[ $MOD ]] | Return "n modulus y" (remainder). | | ||
| [[ $PROPER ]] | Shift the first letter of each word in a string to upper case and all other letters to lower case. | | | [[ $PROPER ]] | Shift the first letter of each word in a string to upper case and all other letters to lower case. | |