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.
Oracle 11gの手順で次のクエリを使用しています
Open cur_Test FOR '''Select * from '|| DBUSER ||'.table_name''';
「無効な SQL ステートメント」というエラーが発生します。
任意のユーザーのパッケージまたはプロシージャで他のユーザーのテーブルを呼び出すことはできますか?
次のようになります。
Open cur_Test FOR 'Select * from '|| DBUSER ||'.table_name';
もちろんselect、そのテーブルに助成金が必要です...
select