Re: execute an sql script?
Posted in 1994
Topics: General Discussion
Dennis Pimple (dennisp@informix.com) wrote: : gary@lining.alt.ns.ca (Gary Langthorne) writes: : > I have an old copy (rel2) of Informix/SQL that I wish to run a SQL : >file from my unix prompt without entering the Informix menu system. Can : >I do this? I found a file in the "lib" dir. called sqlexec but I try to add : >a sript file after the command and the computer hangs. : I think this has always worked: : isql database-name sqlfile : Output will go to standard out, so the results will be on screen, or : you can redirect to a file: : isql database-name sqlfile > sql.out I thought that it should be isql database-name -qcr sqlfile >sql.out --------------------------------------------------------------------- | Keith E. Root internet: keithr@winternet.com | | National Business phone : 1-612-647-0143 | | Data Systems, Inc. fax : 1-612-642-0913 | | Due to a lack of interest tomorrow will be cancelled | ---------------------------------------------------------------------