devxlogo

SQL Script from Linux OS

SQL Script from Linux OS

Question:
How can I run an Informix SQL Script from the Linux Operating System command line directly?

Answer:
Use this format:

dbaccess  

The is the name of the database and the is the name of the sql script, with an extension of *.sql.You also can create a c-shell alias that will do the same thing and let you enter the commands at the command line.

devx-admin

Share the Post: