INFORMIX
Informix Guide to SQL: Tutorial
Chapter 13: Casting Data Types
Home Contents Index Master Index New Book

Casting Data Types

What Is a Cast?
Creating User-Defined Casts
Invoking Casts
Casting Row Types
Casting Between Named Row Types
Casting Between Named and Unnamed Row Types
Casting Between Unnamed Row Types
Row-Type Conversions that Require Explicit Casts on Fields
Explicit Casts on Fields of an Unnamed Row Type
Explicit Casts on Fields of a Named Row Type
Casting Fields of a Row Type
Casting Collection Data Types
Converting Between Collection Types with the Same Element Type
Converting Between Collections with Different Element Types
When the Conversion Between Element Types Requires an Implicit Cast
When the Conversion Between Element Types Requires an Explicit Cast
Casting Distinct Data Types
Applying Casts that a Distinct Type Inherits
Casting Between a Distinct Type and Its Source Type
Adding and Dropping Casts on a Distinct Type
An Example of Casts with Conversion Functions
Creating a Conversion Function Cast
Performing MultiLevel Casts with Explicit Casts
Summary



Informix Guide to SQL: Tutorial, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.