编写数据库脚本时,编辑日期类型字段错误,跪求大神帮助

PROCEDURE USR_QLJFW.T_JOB_JKDT 编译错误
错误:PLS-00103: Encountered the symbol "YYYY" when expecting one of the following:
* & = - + ; < / > at in is mod remainder not rem return
returning <an exponent (**)> <> or != or ~= >= <= <> and or
like like2 like4 likec between into using || multiset bulk
member submultiset
The symbol "*" was substituted for "YYYY" to continue.
行:12
文本:where NEED_CHECKIN_DATE >= to_char(sysdate-30,'YYYY-MM-DD')';
错误:PLS-00103: Encountered the symbol ")" when expecting one of the following:
. ( * @ % & = - + ; < / > at in is mod remainder not rem
return returning <an exponent (**)> <> or != or ~= >= <= <>
and or like like2 like4 likec between into using || bulk
member submultiset
The symbol "*" was substituted for ")" to continue.
行:12
文本:where NEED_CHECKIN_DATE >= to_char(sysdate-30,'YYYY-MM-DD')';
错误:PLS-00103: Encountered the symbol "YYYY" when expecting one of the following:
* & = - + ; < / > at in is mod remainder not rem return
returning <an exponent (**)> <> or != or ~= >= <= <> and or
like like2 like4 likec between into using || multiset bulk
member submultiset
The symbol "*" was substituted for "YYYY" to continue.
行:29
文本:where NEED_CHECKIN_DATE >= to_char(sysdate-30,'yyyy-mm-dd')';
错误:PLS-00103: Encountered the symbol ")" when expecting one of the following:
. ( * @ % & = - + ; < / > at in is mod remainder not rem
return returning <an exponent (**)> <> or != or ~= >= <= <>
and or like like2 like4 likec between into using || bulk
member submultiset
The symbol "*" was substituted for ")" to continue.
行:29
文本:where NEED_CHECKIN_DATE >= to_char(sysdate-30,'yyyy-mm-dd')';
相关推荐
DB修改工具DB修改工具DB修改工具
修改大话2单机版的那个。、DB工具谁有发我个454747236@qq.com
【精品文档】在组态王中使用KVADODBGrid控件时如何对数据库中的日期类型字段进行查询.doc
【精品文档】在组态王中使用KVADODBGrid控件时如何对数据库中的日期类型字段进行查询.doc
在arcgis使用python脚本进行字段计算时是如何解决中文问题的
主要介绍了在arcgis使用python脚本进行字段计算时是如何解决中文问题的,需要的朋友可以参考下
android 数据库升级,增加字段
android 数据库升级,增加字段,以后会更新升级增加建表
解决 JScript 中使用日期类型数据时出现类型错误的问题
在服务端JScript中,有些时候需要使用日期类型的数据,比如说设置一个cookie的到期时间,更新数据库中的日期字段等。但是按照平常的方法来用js里的date类型数据时,运行时就会发生错误。


基础和管理
