on 08-08-2017 12:58 PM
Hi All,
Need to export table data into one location(desktop etc...), along with Delimiter change in stored procedure.
Tried below logic. but getting SAP DBTech JDBC:[258]: insufficient privilege.
CREATE PROCEDURE PROCEDURE_NAME AS
BEGIN
DECLARE QUERY VARCHAR(100);
QUERY := 'EXPORT "schema_name"."table_name" AS CSV INTO ''\\path.csv''';
EXEC (:QUERY);
END;
Can any one help me in this.
Thanks
Rajeswari A.
No stored procedure will be able to produce an export to your local desktop. This is a feature of the client program you're using, e.g. HANA Studio.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The documentation covers that quite well. I trust you can read that yourself.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.