Assignment occurs during
insert
andupdate
operations. When necessary eXtremeSQL will implicitly convert or coerce the type of a value being assigned to a column. Please see the Data Type Conversion page for further details. Data types can also be coerced explicitly using thecast()
operator.The
cast()
operator can also be used to coerce column or expression values in the result set of aselect
.Syntax
select cast( expression as data_type )