An instance of a subtype is considered an instance of all its supertypes. SQL:2003
supports the concept of substitutability: that is, whenever an instance of a supertype
is expected an instance of the subtype can be used in its place. The type of a UDT can be
tested using the TYPE predicate. For example, given a UDT, Udt1 say, we can apply the
following tests: