This is an old revision of the document!


Omnidex SQL Function: $PROPER

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.

This function returns the same datatype as the passed parameter.

Syntax

$PROPER( character_expression )
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

> select $proper(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

Additional Resources

See also:

 
Back to top
dev/sql/functions/proper.1278706177.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)