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.

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
 
Back to top
dev/sql/functions/proper.1278609256.txt.gz ยท Last modified: 2016/06/28 22:38 (external edit)