Choose the kind of user-defined cast
You specify how a database server treats a cast when you
use the CREATE CAST statement. The database server supports two kinds
of user-defined casts:
- Implicit cast
- Explicit cast
The database server invokes an explicit cast to perform conversions between two data types only when you specify the CAST AS keywords or the double colon (::) cast operator.