mani m
2006-08-30 04:50:17 UTC
-------------------------------------------------
CREATE OR REPLACE PROCEDURE
"INTERMEDIATE"."SP_PCMS_CH_DOC_STATUS_QTY" IS
BEGIN
INSERT INTO Intermediate.CH_DOC_STATUS_QTY
SELECT intermediate.cm_catalogue.STATUS, Count(intermediate.cm_catalogue.Ch_DOC_ID),
To_Date(intermediate.cm_catalogue.Create_Date,'dd-mm-yyyy')
FROM intermediate.cm_catalogue
GROUP BY intermediate.cm_catalogue.STATUS,To_Date(intermediate.cm_catalogue.Action_Date,'dd-mm-yyyy');
END;-------------------------------------
I need to Execute this stored Procedure. I use Sql *Plus Worksheet to run this. In Oracle Sql*Plus Worksheet i type like this.
Connect system/manager @myServer_name
EXECUTE intermediate.SP_PCMS_CH_DOC_STATUS_QTY
it show Error.: Not a Group BY Expression.
How to run this stored procedure in oracle and what's the error. please help