unzip zipped_file_with_sql_contents.zip
sed -i 's/SCHEMA/SCHEMA2/g' file.sql
sqlplus sys/PASSWORD@xe as sysdba
sqlplus> @/path/to/file.sql
Last active
January 8, 2016 21:49
-
-
Save jpina/aaec7b4751aac79abcd4 to your computer and use it in GitHub Desktop.
Restore an Oracle database backup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment