isql from shell
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.
We use
$ cat sqlfile.sql | isql dbname
this returns the output to the stdout (screen).
__________________________________________________________________
| Clem Akins Standard Disclaimers Apply |
| Reynolds Metals Co. "Climb High, Cave Deep!" |
| Muscle Shoals, Alabama USA cwakins@leia.alloys.rmc.com |
|________________________________________________________________|