专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Oracle Exception

ORA-00933: SQL command not properly ended

发布时间:2010-05-20 14:01:29 文章来源:www.iduyao.cn 采编人员:星星草

Update sms_Mo_Port_Log
Set usertime = Trunc(Sysdate-1) + (13*60+35) /(24*60)
From sms_sendmsg_ago a,sms_Mo_Port_Log b
Where a.msgid_db=b.msgid And a.usertime = Trunc(Sysdate-1);

报这样的错误:
ORA-00933: SQL command not properly ended


------解决方法--------------------------------------------------------
Update sms_Mo_Port_Log b
Set b.usertime = Trunc(Sysdate-1) + (13*60+35) /(24*60)
Where exists (select 'X ' from sms_sendmsg_ago a
where a.msgid_db=b.msgid
And a.usertime = Trunc(Sysdate-1));

    
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: