Created
April 11, 2021 14:11
-
-
Save shadabshaukat/c1fb20650e949aa6fc060f9f1f17b7b6 to your computer and use it in GitHub Desktop.
Load Autonomous PL/SQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vim /home/opc/Load_ADB.sh | |
| #!/bin/bash | |
| username='admin' | |
| password='S0meP@ssw0rdHere' | |
| sqlquery='PL/SQL Code Here' | |
| /home/opc/sqlcl/bin/sql /nolog <<-EOF | |
| set cloudconfig /home/opc/Wallet_paygdev.zip | |
| show tns | |
| connect $username/$password@paygdev_high | |
| $sqlquery | |
| EOF | |
| ./home/opc/Load_ADB.sh & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment