how to run sql script in oracle
sqlplus username/password@service -- OR sqlplus / as sysdba
SQL> SELECT sysdate FROM dual;
SQL> @C:\Users\folder\script.sql
-- OR
SQL> START C:\Users\folder\script.sql
how to run sql script in oracle
sqlplus username/password@service -- OR sqlplus / as sysdba
SQL> SELECT sysdate FROM dual;
SQL> @C:\Users\folder\script.sql
-- OR
SQL> START C:\Users\folder\script.sql
how to create script to connect to oracle database and run query
C:\upwork\stackoverflow\bat_sql>echo exit | sqlplus -s scott/tiger@esmd @C:\upwork\stackoverflow\bat_sql\sqltest.sql
SYSDATE
--------
24.01.19
Elapsed: 00:00:00.00
C:\upwork\stackoverflow\bat_sql>pause
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us