Solved

open sqlplus with command line parameter

Posted on 2000-05-11
1
1,596 Views
Last Modified: 2008-02-01
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
0
Comment
Question by:mabo
1 Comment
 
LVL 1

Accepted Solution

by:
bellyboy earned 5 total points
ID: 2800025
sqlplus scott/tiger@myhost


where myhost is the database alias defined in your tnsnames.ora
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question