This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dev:sql:functions:proper [2010/07/08 17:14] els |
dev:sql:functions:proper [2010/07/09 03:36] els |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== Description ===== | ===== Description ===== | ||
Converts a string to proper case, meaning that the first character of each word in made upper case and the remaining characters are lower case. | Converts a string to proper case, meaning that the first character of each word in made upper case and the remaining characters are lower case. | ||
+ | |||
+ | This function returns the same datatype as the passed parameter. | ||
+ | |||
===== Syntax ===== | ===== Syntax ===== | ||
Line 15: | Line 18: | ||
===== Examples ===== | ===== Examples ===== | ||
==== Example: Column ==== | ==== Example: Column ==== | ||
- | <code SQL> | + | <code> |
> select $proper(name) nme from individuals; | > select $proper(name) nme from individuals; | ||