Converting to Uppercase

From InterBase
Jump to: navigation, search

Go Up to InterBase Quick Start: Part IV - Retrieving Data


The UPPER function converts character values to uppercase. For example, you could include a CHECK constraint that ensures that all column values are entered in uppercase when defining a table column or domain. The following CREATE DOMAIN statement uses the UPPER function to guarantee that column entries are all upper case:

CREATE DOMAIN PROJNO 
 AS CHAR(5) 
 CHECK (VALUE = UPPER (VALUE));

Advance To: