Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Stored Proc Compilation Error

Re: Stored Proc Compilation Error

From: dc <w5ww_at_yahoo.com>
Date: 21 Oct 2004 09:10:24 -0700
Message-ID: <ed476311.0410210810.50df617d@posting.google.com>


Hey Brian,

So you were able to take that code, place it into a stored procedure and compile it?

I double checked and that DATE is the name of the column. Here is the source table name definition.

CREATE TABLE HISTORY
(

  RECNUM         NUMBER(28)            NOT NULL,
  AP#            VARCHAR2(14 BYTE)     DEFAULT ' '    NOT NULL,
  CHANGED_FIELD  VARCHAR2(16 BYTE)     DEFAULT ' '    NOT NULL,
  PROGRAM        VARCHAR2(8 BYTE),
  DATA_BEFORE    VARCHAR2(30 BYTE),    DATA_AFTER     VARCHAR2(30
BYTE)              DEFAULT ' '    NOT NULL,

"DATE" DATE DEFAULT
TO_DATE('01/01/0001','MM/DD/YYYY') NOT NULL, HR NUMBER(2) DEFAULT 0 NOT NULL, MIN NUMBER(2) DEFAULT 0 NOT NULL,
"BY" VARCHAR2(25 BYTE),
"COMMENT" VARCHAR2(70 BYTE)

) Received on Thu Oct 21 2004 - 11:10:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US