The title says it all really, I have been trying to execute a SQL Oracle script through PowerShell, but it is not working. I am not getting an error, it just says 'running script/selection' at the bottom right hand corner. However I do not think it is correctly connecting to Oracle.
Please see the code in the .ps1 file:
sqlplus Username\Password "@C:\Users\...\script1.sql"
In the sql script there is:
CREATE TABLE DEPT
(
DEPTNO VARCHAR2(20)
, DNAME VARCHAR2(20)
, LOC VARCHAR2(20)
);