Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Gerard Crockenberg — — source: Informix-list mailing list archive (1991-1998)
You can also echo the SQL and pipe it to dbaccess -
ie.
echo "database test_db;
select * from mytable;" | dbaccess -
Gerard Crockenberg
President
Crockenberg Consulting, LLC
gerardc@bbellatlantic.net
Jason Harris wrote in message <34ceb712.13869733@10.209.30.200>...
>On 27 Jan 1998 08:53:13 -0500, tr-2959@mail.necgroup.co.uk
>("Tony_Reynolds(Accounting & Purchasing System") wrote:
>
>>Any unix guru's out there?
>>I'm trying to run an update through a shell script using dbaccess.
>>I se up the environment in the script.
>>and use dbaccess /home/informix/update.sql
>
>try dbaccess <db_name> /home/informix/update.sql
>
>Jason
>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.