Include script within a script

Started by Bill Toddabout 17 years ago2 messagesgeneral
Jump to latest
#1Bill Todd
pg@dbginc.com

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

Bill

#2Andreas Kretschmer
akretschmer@spamfence.net
In reply to: Bill Todd (#1)
Re: Include script within a script

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�