Hi All, trying to create a simple import and getting an error:
'Missing access privileges for report sp_DBR_import_test'
My stored procedures, both created in mydbr database:
CREATE PROCEDURE sp_DBR_inv_import(ssku VARCHAR(100),sdesc VARCHAR(255),sqty INT,sstoreid VARCHAR(100),sprice DECIMAL)
BEGIN
INSERT INTO server_name.store_inv(sku,`description`,qty,store_id,price)
VALUES (ssku,sdesc,sqty,sstoreid,sprice);
END
and the report procedure that calls it:
CREATE PROCEDURE `sp_DBR_import_tab_file`()
BEGIN
select 'dbr.import.options', 'skip_header', 1; /* Treat first line as header and skip it */
select 'dbr.import', 'sp_DBR_inv_import';
end
Tried creating the SP in the target db also but get the same error when using:
select 'dbr.import', 'server_name.sp_DBR_inv_import'
Other stored procedure calls on a named server work okay.. All the db's are on the same server with mydbr.
Any help appreciated.
Mark