How do you run SQL script from a Unix Shell? |
Answer
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.
First answer by ID203601809. Last edit by ID203601809. Question popularity: 17 [recommend question]
|
Research your answer: |
Can you answer other
questions about programming?


