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