This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dev:sql:functions:lower [2009/12/05 00:30] tdo created |
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 ===== | + | LOWER( character_expression ) |
- | ==== Example 1 ==== | + | |
+ | == character_expression == | ||
+ | |||
+ | 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> | <code> | ||
- | select | + | > select lower(name) nme from individuals; |
- | LOWER (contact) as low | + | |
- | from customers where state = 'co' | + | 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> | ||
- | low | + | ====== Additional Resources ====== |
- | ------------------------- | + | |
+ | See also: | ||
+ | {{page>dev:sql:functions:see_also_string&nofooter&noeditbtn&noheader}} | ||
- | john doe | ||
- | jane johnson | ||
- | jim smith | ||
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} |