•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 332,603 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,157 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser:
Views: 174 | Replies: 1 | Solved
![]() |
•
•
Join Date: May 2008
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
Hi friends,
i got this err while executing this procedure.
err is like this:-
-----------------------------------------------------------------------------
9/3 PL/SQL: Statement ignored
9/13 PLS-00201: identifier 'DATEADD' must be declared
11/3 PL/SQL: Statement ignored
11/13 PLS-00201: identifier 'DATEADD' must be declared
------------------------------------------------------------------------------
Please have look my stored procedure
CREATE OR REPLACE PROCEDURE GReptExprtCompliTestRelt(EntityFolderCode number,
RangeStartDate date,
RangeEndDate date,c1 OUT SYS_REFCURSOR)
AS
rStartDate date;
rEndDate date;
tempDate date;
BEGIN
tempDate:=DATEADD(dd,1,RangeEndDate);
rStartDate:= UPPER(RangeStartDate);
tempDate:=DATEADD('ss',-1,tempDate);
rEndDate:= UPPER(tempDate);
OPEN c1 FOR
select * from t;
end;
/
hey i m using rstartdate and renddate in my procedure, i m not giving here all those code, i have writen this procedur just to get solution of my problem, so don't bother that where i m using rstartdate and renddate variable, hope you all understand my problem,
thanks lot.
Avtar.
i got this err while executing this procedure.
err is like this:-
-----------------------------------------------------------------------------
9/3 PL/SQL: Statement ignored
9/13 PLS-00201: identifier 'DATEADD' must be declared
11/3 PL/SQL: Statement ignored
11/13 PLS-00201: identifier 'DATEADD' must be declared
------------------------------------------------------------------------------
Please have look my stored procedure
CREATE OR REPLACE PROCEDURE GReptExprtCompliTestRelt(EntityFolderCode number,
RangeStartDate date,
RangeEndDate date,c1 OUT SYS_REFCURSOR)
AS
rStartDate date;
rEndDate date;
tempDate date;
BEGIN
tempDate:=DATEADD(dd,1,RangeEndDate);
rStartDate:= UPPER(RangeStartDate);
tempDate:=DATEADD('ss',-1,tempDate);
rEndDate:= UPPER(tempDate);
OPEN c1 FOR
select * from t;
end;
/
hey i m using rstartdate and renddate in my procedure, i m not giving here all those code, i have writen this procedur just to get solution of my problem, so don't bother that where i m using rstartdate and renddate variable, hope you all understand my problem,
thanks lot.
Avtar.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Oracle Marketplace
Other Threads in the Oracle Forum
- Previous Thread: Sysdate check
- Next Thread: find which tables get updated..


Linear Mode