Hi, I've added a new report, but the results I want to present to the user are generated by another existing Stored Procedure, which exists outside myDBR.
I did do a search, but found loads of unrelated matches, so thought it may be quicker just to ask.
My report SP is below, but when I try and review the report I get the following error:
"PROCEDURE mydbr.sp_schStockDemandReport does not exist"
myDBR appears to be prefixing the SP call with mydbr. - why does it do this and how can I stop it?
Report SP:
DROP PROCEDURE IF EXISTS sp_DBR_sch_stock_level_forecast
$$
CREATE PROCEDURE `sp_DBR_sch_stock_level_forecast`(IN inNumMonths INTEGER)
BEGIN
select 'dbr.pageview'; select 'dbr.title', 'Stock Forecast Report '; select 'dbr.subtitle', CONCAT('Covering the past ',inNumMonths,' months');
CALL sp_schStockDemandReport(inNumMonths); END $$
I am new to myDBR, but not new to mySQL (although my Stored Proc experience is a little rusty!)