Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 1026

Re: ERROR WHILE CALLING STORED PROCEDURE

$
0
0

Hi Nithin,

 

Thank you very much  for your solution, As per your suggestion i executed the below statement

 

SELECT "MetricValue" AS v_MValue FROM "JIVE"."TBL_MKT_COMMUNITY_METRICS"

           WHERE "MetricName" = 'Total Members' AND  "Lvl" = 'M' AND  CAST( SUBSTR("Mth",1,4) || '-' || "JIVE".MONTH_NUMBER(SUBSTR("Mth", INSTR("Mth",'-')+1, 100 )) || '-01' AS DATE) = '2015-01-01'

 

IN THE ABOVE STATEMENT I REPLACED  :v_PrevMonthDt; PARAMETER BY '2015-01-01'

 

but still its throwing following error

 

SAP DBTech JDBC: [328]: invalid name of function or procedure: MONTH_NUMBER: line 114 col 106 (at pos 4532)

Could not execute 'SELECT "MetricValue" AS v_MValue FROM "JIVE"."TBL_MKT_COMMUNITY_METRICS" WHERE "MetricName" = ...'

SAP DBTech JDBC: [328]: invalid name of function or procedure: MONTH_NUMBER: line 2 col 106 (at pos 180)

 

Note : please see the attachment for more information

 

Regards

Naresh P

 

ERROR3.PNG


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>