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

Missing privilege - DELETE statement in procedure

$
0
0

Hello experts,

 

I am facing a problem for my procedure. I am not able to active the procedure if I use DELETE statement in the produce. When I use only selects, it is working fine. The SYSTEM user has access to the schema with full rights, including DELETE.

 

PROCEDURE "SYSTEM"."DEV_COL.procedures::FI" ( )

  LANGUAGE SQLSCRIPT

  SQL SECURITY INVOKER

  DEFAULT SCHEMA UXX790

  AS

BEGIN

/*****************************

  Write your procedure logic

*****************************/

 

-- SELECT vbeln

--count(*)

  DELETE

  from vbapold

  where erdat < ADD_days(now(), -1700);

 

END;

 

Did anybody had the same issue? I run HANA rev70.

 

BR
Tamas


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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