Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

Sqlplus and PowerShell

edited Feb 11, 2010 2:42AM in Database Install/Upgrade/Opatch (MOSC) 2 commentsAnswered
 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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center