SP2-0734 rest of line ignored 报错

来源:百度文库 编辑:神马文学网 时间:2024/04/30 02:49:26
 今天提交给维护部门批量修改数据的文件,执行时候报错
SP2-0734: unknown command beginning "where t.bg..." - rest of line ignored.SQL> 19‘,‘YYYY-MM-dd‘),0); SP2-0734: unknown command beginning "19‘,‘YYYY-..." - rest of line ignored.等等,原来Sql*plus中, 不允许sql语句中间有空行, 这在从其它地方拷贝脚本到sql*plus中执行时很麻烦.  原因是sqlplus遇到空行就认为是语句结束了.
其实要改变这种现象, 只要使用SQLBLANKLINES参数就可以了
oracle@BEIJING.COM> SET SQLBLANKLINES ON