Cast between built-in data types

The database server provides built-in casts that perform automatic conversions between certain built-in data types. For more information about these built-in casts, refer to the Informix® Guide to SQL: Reference.

You cannot create user-defined casts to allow conversions between two built-in data types for which a built-in cast does not currently exist. For more information about when you might want to write new cast functions, refer to Create a user-defined cast.