This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:sql:functions:lower [2009/12/05 00:30] tdo |
dev:sql:functions:lower [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{page>:top_add&nofooter&noeditbtn}} | {{page>:top_add&nofooter&noeditbtn}} | ||
- | <html><div align="center"><span style="color:red">DRAFT</span></div></html> | ||
- | ====== Omnidex SQL Function: LOWER ====== | ||
{{page>:sql_bar&nofooter&noeditbtn}} | {{page>:sql_bar&nofooter&noeditbtn}} | ||
+ | ====== Omnidex SQL Function: LOWER ====== | ||
===== Description ===== | ===== Description ===== | ||
Converts a string to all lower case characters. | Converts a string to all lower case characters. | ||
+ | |||
+ | This function returns the same datatype as the passed parameter. | ||
===== Syntax ===== | ===== Syntax ===== | ||
- | LOWER( <column_spec | "string"> ) | ||
- | ===== Example ===== | ||
- | ==== Example 1 ==== | ||
- | <code> | ||
- | select | ||
- | LOWER (contact) as low | ||
- | from customers where state = 'co' | ||
- | low | + | LOWER( character_expression ) |
- | ------------------------- | + | |
- | john doe | + | == character_expression == |
- | jane johnson | + | |
- | jim smith | + | Required. Any expression that returns a character-class datatype. Examples of expressions are columns, concatenations of columns, literal strings and functions that return a character datatype. |
+ | |||
+ | |||
+ | ===== Examples ===== | ||
+ | ==== Example: Column ==== | ||
+ | <code> | ||
+ | > select lower(name) nme from individuals; | ||
+ | |||
+ | NME | ||
+ | -------------------------------------------------- | ||
+ | ms. mary lewis | ||
+ | mrs. alice r tolliver | ||
+ | mr. sidney k tolliver | ||
+ | mrs. jennifer j hopkins | ||
+ | mr. charlie hopkins | ||
+ | ms. kimberly blue | ||
+ | kathleen tucker | ||
</code> | </code> | ||
+ | ====== Additional Resources ====== | ||
+ | |||
+ | See also: | ||
+ | {{page>dev:sql:functions:see_also_string&nofooter&noeditbtn&noheader}} | ||
+ | |||
+ | |||
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} |