open sqlplus with command line parameter

Is there a way to open sqlplus with command line parameters that specify the login/password and host string.....
I tried it with
sqplus scott/tiger myhost
it gives error message......
any suggestions...
thanks
maboAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
bellyboyConnect With a Mentor Commented:
sqlplus scott/tiger@myhost


where myhost is the database alias defined in your tnsnames.ora
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.