Re: Piping sql script into isql
Posted in 1992
Path: emory!wupost!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!das13!dave From: dave@das13.snide.com (Dave Snyder) Newsgroups: comp.databases.informix Message-ID: <1598@das13.snide.com> Date: 13 Jan 92 02:36:22 GMT References: <752@bellahs.UUCP> Organization: Snide Inc. - Folcroft, PA In article <752@bellahs.UUCP>, jjamison@bellahs.UUCP (John Jamison) writes: > I am told there is an undocumented flag for isql that > allows you to pipe in an sql script into isql. It > works either by | isql -<flag> or isqli -<flag> inputfile. I think this is what you want to do... isql dbname script.sql or cat script.sql | isql dbname - The '-' by itself means read from stdin. DAS -- David A. Snyder @ Snide Inc. - Folcroft, PA Current Release is db4glgen-3.3 UUCP: ..!uunet!das13!dave INTERNET: Dave.Snyder@snide.com