Include another file in this SQL file?
Include another file in this SQL file?
От:
Barry Hoggard <barry@hoggard.org>
Дата:
I tried to search for this in the archives, but couldn't find it. I know I can use @@filename to include another file of sql commands in Oracle. How do I do this when passing a file to psql with the -f command line option, or \i? -- Barry Hoggard
Re: Include another file in this SQL file?
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Barry Hoggard writes: > I tried to search for this in the archives, but couldn't find it. > I know I can use @@filename to include another file of sql commands in > Oracle. How do I do this when passing a file to psql with the -f > command line option, or \i? You seem to know the answer already: use \i. regards, tom lane