cancel
Showing results for 
Search instead for 
Did you mean: 

SAP DBTech JDBC: [12]: cannot open file:

I have created a procedure to export a hana studio table data into a CSV file .

CREATE PROCEDURE EXPORTTABLE

AS

BEGIN

DECLARE QUERY NVARCHAR(500);

QUERY = 'EXPORT "MYschema"."TEST_IMPORT" as CSV INTO ''C:\Windows\Temp'' WITH REPLACE';

EXEC (:QUERY);

END;

Call EXPORTTABLE;

But on calling this procedure I am getting the below error:

Could not execute 'CALL EXPORTTABLE' in 39 ms 465 µs . SAP DBTech JDBC: [12]: cannot open file: "MYschema"."EXPORTTABLE": line 5 col 2 (at pos 174): [12] (range 3): cannot open file: Cannot open the path C:\Windows\Temp

Accepted Solutions (0)

Answers (0)