This shows you the differences between two versions of the page.
dev:sql:functions:proper [2010/07/04 03:53] tdo |
dev:sql:functions:proper [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
- | ====== Omnidex SQL Function: CASE ====== | ||
- | {{page>:sql_bar&nofooter&noeditbtn}} | ||
- | ===== Description ===== | ||
- | The $PROPER function shifts the first letter of each word in a string to upper case and all other letters in the string to lower case. Words are delimited by white space (tabs, newlines, blanks) or punctuation (: ; , . ! ?). | ||
- | See also: LOWER, UPPER | ||
- | ===== Syntax ===== | ||
- | $PROPER( <column_spec } 'string' > ) | ||
- | |||
- | == <column_spec | 'string' > == | ||
- | |||
- | Required. A string or scalar_expression that evaluates to a string. | ||
- | |||
- | ===== Example ===== | ||
- | ==== Example 1 ==== | ||
- | select $proper(company), upper(company), lower(company) from customers where company='systems' | ||
- | |||
- | $PROPER: Dynamic Information Systems Corporation | ||
- | {{page>:bottom_add&nofooter&noeditbtn}} |