Functions  normalize-space

Chapter 2: XML Services

tolower and toupper

Description

tolower and toupper return their argument values in lowercase and uppercase, respectively.

Syntax

tolower(string-parameter)
toupper(string-parameter)

Example

This example uses toupper to return the argument value in uppercase.

select xmlextract
('//book[title=”Seven Years in Trenton”]//toupper(first-name)', text_doc) 
from sample_docs where name_doc='bookstore'
----------------------------------------
JOE




Copyright © 2004. Sybase Inc. All rights reserved. normalize-space

View this book as PDF