Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: User Not able to add Insert, desert and update statements in Procedure

$
0
0

Thanks Thomas, after update of system configuration as you indicated the following DML invoking procedure created from new source editor now works:

 

 

CREATE PROCEDURE create_table_purchase_item_sql ( )

          LANGUAGE SQLSCRIPT

          SQL SECURITY INVOKER AS 

          --DEFAULT SCHEMA <schema>

 

BEGIN

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

          Write your procedure logic

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

drop table "MISSIONCONTROL"."hpl.missioncontrol.data::MC.Purchase.Item";

 

 

 

 

create column table "MISSIONCONTROL"."hpl.missioncontrol.data::MC.Purchase.Item"(

          PurchaseOrderId NVARCHAR(10),                                  

          PurchaseOrderItem NVARCHAR(10),

          ComponentId NVARCHAR(5),

          Currency NVARCHAR(5),

          GrossAmount DECIMAL(15,2),

          Quantity DECIMAL(13,2),

          DeliveryDate DATE,

          primary key(PurchaseOrderId, PurchaseOrderItem));

 

END;


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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