Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8392

HANA Procedure and Table Type Clarifications

$
0
0

Hi All

    I have some queries related to Procedures and Table Types please share your ideas on the below.

  1.How to feed  Table Types with data , I tried to feed with INSERT statement it says feature not supported.

   2.Can we define primary key for columns involved in table type.

   3.In procedures when I try to use CALL ins_msg_proc , it throws syntax error, how can I write output to the screen.

   4.While writing procedures we have a statement with RESULT VIEW XXXX as so , if we have defined any out parameters the output will be stored in the XXXX view. where is  this views present in databse, I serached it in SYS.VIEWS but no luck.

5.In a procedure we use some table type variables to store , are they restricted to the session ? if not where these objects are stored.

6.I tried to redirect the output of call procedure statement to store it in table as below.But it throws syntax error.

                        EMP_SUB = call emp_data(NULL);

7. When I try to insert data into table using procedure as below, it says feature not supported as it is read only procedure , is there any way or other type of procedure to write data to tables or database via procedures.

Please share your ideas on the above , these are the basics which I am trying to clarify.I tried hard to find the answers but could not .

 

Thanks

Santosh


Viewing all articles
Browse latest Browse all 8392

Trending Articles



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