ora-01445:无法从不带保留关键字的表的连接视图中选择ROWID或采样
同样的脚本在不同的环境执行有的可以成功,有的却报错了
select rowid, a.*
from (select * from student st, score sc where st.sno = sc.sno) a
错误如下:
经核查是因为关联表中存在未设置主键的表引起的。加下主键即可。
猜你喜欢
转载自xafc2370.iteye.com/blog/2261685
今日推荐
周排行