Sqlplus and PowerShell
Using a DOS command window, I can connect to a database, using following syntax:
> SET ORACLE_SID=MyDB
> sqlplus SYSTEM/MANAGER
But, using PowerShell, I get error ORA-12560 :
> Set-Variable ORACLE_SID MyDB -scope global
> sqlplus SYSTEM/MANAGER
Any suggestion?
Thanks for help.
> sqlplus SYSTEM/MANAGER
But, using PowerShell, I get error ORA-12560 :
> Set-Variable ORACLE_SID MyDB -scope global
> sqlplus SYSTEM/MANAGER
Any suggestion?
Thanks for help.
0