how to create script to connect to oracle database and run query

Solutions on MaxInterview for how to create script to connect to oracle database and run query by the best coders in the world

showing results for - "how to create script to connect to oracle database and run query"
Nicole
14 Aug 2020
1C:\upwork\stackoverflow\bat_sql>echo exit   | sqlplus -s scott/tiger@esmd  @C:\upwork\stackoverflow\bat_sql\sqltest.sql
2
3SYSDATE
4--------
524.01.19
6
7Elapsed: 00:00:00.00
8
9C:\upwork\stackoverflow\bat_sql>pause