Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Insufficient privilege .hdbprocedure file

$
0
0

Hi,

 

I am scheduling stored procedure using .xsjob but when I am trying to create .hdbprocedure file and giving below code , its says ' could not create catalog object Insufficient privilege'.

 

code in .hdbprocedure

 

PROCEDURE "BEST"."sumeet10::update_store_master" ( )

  LANGUAGE SQLSCRIPT

  SQL SECURITY INVOKER

  --DEFAULT SCHEMA <default_schema_name>

  --READS SQL DATA AS

  as

BEGIN

 

 

update "BEST"."store_transaction"

set "Amount" = "Amount"+("Amount")*0.1

where "Particulars" = 'TV';

 

 

END;

 

Same update statement when I am trying to run in SQL console, it is successful.

 

Br

Sumeet


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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