PLS-00103遇到了符号

时间:2017-09-14 16:34:23

标签: oracle plsql procedure

我正在创建一个程序:

CREATE OR REPLACE PROCEDURE M4PR_GEMS_IMP_ADMISSOES([...]
    vMotivo_cambio  IN VARCHAR2,
    vFec_inicio    IN DATE)
IS
    vMotivo_cambio := 'AC'; 
    vFec_inicio := vFec_alta_empleado;
BEGIN
    [...]

我的错误:

  

PROCEDURE XEROX.M4PR_GEMS_IMP_ADMISSOES的编译错误

     

错误:PLS-00103:遇到以下任何一种情况时遇到符号“=”:

    constant exception <an identifier>
      <a double-quoted delimited-identifier> table LONG_ double ref
      char time timestamp interval date binary national character
      nchar
   The symbol "<an identifier>" was substituted for "=" to continue.
     

线:58   文字:vMotivo_cambio:='AC';

     

错误:PLS-00103:遇到以下任何一种情况时遇到符号“=”:

     constant exception <an identifier>
      <a double-quoted delimited-identifier> table LONG_ double ref
      char time timestamp interval date binary national character
      nchar
   The symbol "<an identifier>" was substituted for "=" to continue.
     

线:59   文字:vFec_inicio:= vFec_alta_empleado;

0 个答案:

没有答案