Oracle Database

How do you run SQL script from a Unix Shell?

User Avatar
Wiki User
2007-02-03 03:53:47

The basic format is mysql (any mysql options) <

sql_script_you_want_to_run.sql for mysql, and psql (any psql

options) < sql_script_you_want_to_run.sql for postgresql.


Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.