ORA-01756: 括号内的字符串没有正确结束 这是什么错?我的select语句运行时都是正确的呀

galepeng 2003-09-29 05:42:42
select t.item_code,t.item_name
from lis.advice_content_person w,
(select item_code, item_name
from hisdict.price_dict
where item_code in
(select item_code
from hisdict.advice_both_fee_dict
where advice_code in
(select advice_code
from hisdict.advice_static_dict
where class_code ='D')))t
where w.check_id=t.item_code
and w.doctor_id='0000001'
...全文
667 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
chanet 2003-09-29
  • 打赏
  • 举报
回复
本来是进来看问题的,但看见好多星星呀... :)
试试用 ed 编辑一下,再运行。

在 SqlPlus 有时在有许多字符换行时,有误判。
beckhambobo 2003-09-29
  • 打赏
  • 举报
回复
select t.item_code,t.item_name
from lis.advice_content_person w,
(select item_code, item_name
from hisdict.price_dict b
where exists(select 1 from hisdict.advice_both_fee_dict a
where item_code=b.item_code and exists(select 1 from hisdict.advice_static_dict where a,advice_code=advice_code and class_code ='D'))) t where w.check_id=t.item_code
and w.doctor_id='0000001'
black_snail 2003-09-29
  • 打赏
  • 举报
回复
怀疑'是不是用中文打的
....
只是怀疑而已,因为俺犯过这样的错
jiezhi 2003-09-29
  • 打赏
  • 举报
回复
看起來是對的。你在sqlplus里面執行出錯嘛?

17,086

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧