How do call multiple sql files in a single sql file, in postgres
For example I have aaa.sql, bbb.sql, ccc.sql.
I want to execute this 3 files from xxx.sql.
Can anyone suggest me how to do this.
|
How do call multiple sql files in a single sql file, in postgres For example I have aaa.sql, bbb.sql, ccc.sql. I want to execute this 3 files from xxx.sql. Can anyone suggest me how to do this.
| |||
|
feedback
|
|
If you are running these files through xxx.sql:
If you are passing these through some other program you will need to combine the files yourself - I do not believe there is any SQL-standard way of executing external files. | |||||||||
feedback
|