Allowed conversions

You can use convert to change the expression datatype in these ways:

The result of the conversion is associated with the current database.

See “Using the SQL convert function for Java subtypes,” for a discussion of the use of the convert function for Java subtypes.