Ask Your Question
2

Is it possible to invoke a .sql file from another file within SAP HANA?

asked 2021-10-08 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-08 16:00:00 +0000

devzero gravatar image

Yes, it is possible to invoke a .sql file from another file within SAP HANA. This can be done by using the \i command followed by the file path and name within the SQL script. For example:

\i /path/to/my/sql/file.sql;

This will execute the SQL commands within the specified file during the execution of the current SQL script.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-10-08 11:00:00 +0000

Seen: 19 times

Last updated: Nov 08 '22