Thread: Include script within a script

Include script within a script

From
Bill Todd
Date:
Is there any mechanism to include (call) one SQL script file from another?

Bill

Re: Include script within a script

From
Andreas Kretschmer
Date:
Bill Todd <pg@dbginc.com> wrote:

> Is there any mechanism to include (call) one SQL script file from another?

You can use \i <path to your script>


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°