<str> <str> uses domain <str> as CAST or local variable Explanation: A dependency exists for this domain. It is used in a CAST expression or as a local variable. User Action: You need to change the reference in the routine, trigger, constraint, or column before dropping the domain.