To execute a sql-script with sqlplus just insert your this command:
(replace : username, password, connection_string, /path/to/script)
echo exit | sqlplus username/password@connection_string@/path/to/script
Source:
http://serverfault.com/
No comments:
Post a Comment
Your comment will be visible after approval.