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

Re: Regarding Import From statement in stored procedure

$
0
0

Hi Gupta,

 

Thanks for your reply. I am creating the procedure like:

 

CREATE PROCEDURE proc_import_csv

AS

  v_sql varchar(400) := '/tmp/data.csv';

BEGIN

  EXEC 'IMPORT FROM CSV FILE ''' || :v_sql || '''';

END;

 

and then calling it with this commany: call proc_import_csv;

 

but I am getting following error message:

 

Could not execute 'call proc_import_csv' in 34 ms 387 µs .

SAP DBTech JDBC: [7]: feature not supported: "MAG"."PROC_IMPORT_CSV": line 5 col 2 (at pos 88): [7] (range 3): feature not supported: import from doesn't support DDL auto commit mode off

 

Any idea how to solve this problem.

 

Thanks and best regards.

 

Fahad


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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