Re: execute an sql script?
Posted in 1994
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 or whatever ======================================================================= Dennis J. Pimple dennisp@informix.com Opinions expressed Senior Consultant -------------------- are mine, and do not Informix Software Inc Voice: 303-850-0210 necessarily reflect Denver Colorado USA Fax: 303-779-4025 those of my employer.