Yes, it is possible to invoke an SQL file from another file in SAP HANA using the statement:
DO 'path/to/sql/file.sql';
Where path/to/sql/file.sql
is the path to the SQL file that you want to execute. You can include this statement in a SQL file or in a stored procedure to execute the SQL statements in the target file.
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
Asked: 2023-07-19 23:51:27 +0000
Seen: 13 times
Last updated: Jul 20 '23
Is it possible to provide parameters to a .sql file in SAP HANA?
Is it possible to invoke a .sql file from another file within SAP HANA?
Can SAP HANA's dictionary views be used to find the columns returned by a table-valued function?
Is R language compatible with SAP HANA cloud?
How can information be transferred from SAP HANA to Salesforce?
How can SAP HANA be deployed with Javascript?
What is the method to preserve a video in SAP HANA?
What is the process for importing .csv files into a SAP HANA Trial account?