首页 > 其他 > 详细

ORA-25154/ORA-01748

时间:2015-06-25 12:02:49      阅读:836      评论:0      收藏:0      [点我收藏+]

SQL> select oi.order_id,product_id,order_date from order_items oi join orders o using(order_id) where rownum<=3;

select oi.order_id,product_id,order_date from order_items oi join orders o using(order_id) where rownum<=3
ORA-25154: USING 子句的列部分不能有限定词

SQL> select order_id,product_id,order_date from order_items oi join orders o using(oi.order_id) where rownum<=3;
select order_id,product_id,order_date from order_items oi join orders o using(oi.order_id) where rownum<=3
ORA-01748: 此处只允许简单的列名

SQL> select order_id,product_id,order_date from order_items oi join orders o using(order_id) where rownum<=3;
ORDER_ID PRODUCT_ID ORDER_DATE
------------- ---------- --------------------------------------------------------------------------------
2458 3117 17-8月 -07 03.34.12.234359 上午
2458 3123 17-8月 -07 03.34.12.234359 上午
2458 3127 17-8月 -07 03.34.12.234359 上午

ORA-25154/ORA-01748

原文:http://www.cnblogs.com/rusking/p/4599396.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!