Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取到目前为止我定义的所有用户定义类型。请告诉我如何显示它?我想知道如何删除 UDT?
drop type <type name?
这个对吗?
查询dba_types, all_types, 或user_types取决于您拥有的权限以及您正在寻找的类型。 user_types将列出当前用户拥有的类型。 all_types将列出当前用户有权访问的所有类型,其中包括当前用户已被授予权限的其他用户拥有的类型。 dba_types将列出数据库中的所有类型,但您需要权限才能查询权限或角色dba_*等视图。select any dictionaryselect_catalog_role
dba_types
all_types
user_types
dba_*
select any dictionary
select_catalog_role