This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
dev:sql:functions:character_length [2010/07/08 21:31] els |
dev:sql:functions:character_length [2010/07/09 20:05] els |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{page>:top_add&nofooter&noeditbtn}} | {{page>:top_add&nofooter&noeditbtn}} | ||
{{page>:sql_bar&nofooter&noeditbtn}} | {{page>:sql_bar&nofooter&noeditbtn}} | ||
+ | |||
+ | |||
====== Omnidex SQL Function: CHARACTER_LENGTH ====== | ====== Omnidex SQL Function: CHARACTER_LENGTH ====== | ||
===== Description ===== | ===== Description ===== | ||
Line 17: | Line 19: | ||
===== Examples ===== | ===== Examples ===== | ||
==== Example 1: Column ==== | ==== Example 1: Column ==== | ||
- | <code SQL> | + | <code> |
> select name, character_length(name) len from individuals; | > select name, character_length(name) len from individuals; | ||
Line 33: | Line 35: | ||
==== Example 2: Character Expression ==== | ==== Example 2: Character Expression ==== | ||
- | <code SQL> | + | <code> |
> select gender, name, char_length(gender || name) len from individuals; | > select gender, name, char_length(gender || name) len from individuals; | ||
Line 47: | Line 49: | ||
</code> | </code> | ||
+ | ====== Additional Resources ====== | ||
+ | |||
+ | See also: | ||
+ | |||
+ | * [[dev:sql:functions | Summary of Functions]] | ||
+ | {{page>dev:sql:functions:see_also_string&nofooter&noeditbtn&noheader}} | ||
+ | * [[dev:sql:functions | Summary of Functions]] | ||
{{page>:bottom_add&nofooter&noeditbtn}} | {{page>:bottom_add&nofooter&noeditbtn}} |