The following examples show how you can use user-defined types
(UDTs), user-defined functions (UDFs), and large objects (LOBs) together in
complex applications.
Example: Use UDFs to query instances of UDTs
Suppose you need to know how much e-mail was sent by a specific customer regarding customer orders and you have the e-mail address of your customers in the customers table.