0

I am creating procedure in oracle toad. When I run this procedure I am getting error like "object create not found. Am new to oracle.

procedure
---------
CREATE PROCEDURE CISCOCUIC.insrtCDRdet(rec integer)
IS   
 BEGIN
  insert into CISCOCUIC.CISCOCCDR_TBL(FLD_CDRRECORDTYPE)values(rec);
  COMMIT;
 END;
/

When I press alt+enter key am getting error object create not found

4

2 回答 2

1

如果您具有在 CISCOCUIC 模式中创建过程的权限,请按如下方式创建您的过程。

CREATE OR REPLACE PROCEDURE CISCOCUIC.insrtcdrdet (rec INTEGER)
IS
BEGIN
    INSERT INTO CISCOCUIC.ciscoccdr_tbl (fld_cdrrecordtype)
      VALUES   (rec
                  );

    COMMIT;
END;
/
于 2012-11-12T12:04:24.683 回答
1

在 TOAD 中输入 alt 表示描述。如果您当时将光标放在 CREATE 上,它会给您该错误。相反,只需按 F9 即可运行该脚本。

于 2012-11-12T15:39:50.710 回答