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.
ユーザーが定義したオブジェクト型の属性名を提供する PL/SQL スクリプトを生成したいと考えています。オブジェクト タイプが定義されていることはわかりますが、このオブジェクトの属性名が見つかりません。
これはOracle11gで機能し、以前のバージョンでも機能するはずです。
select attr_name from all_type_attrs where owner = YourSchemaName and type_name = YourTypeName
このオブジェクトが別のユーザーのスキーマにある場合は、all_type_attrsでこれを確認する前に、実行権限が必要です。
(APCのコメントからの許可を明確にするために編集)