GeekInterview.com
Series: Subject: Topic:
Question: 144 of 183

How do you connect to or query Oracle database from a UNIX platform.?

Asked by: Interview Candidate | Asked on: Aug 28th, 2005
Showing Answers 1 - 4 of 4 Answers
San

Answered On : Aug 28th, 2005

We can connect to Oracle from Unix just by giving the command sqlplus at the prompt and log into Oracle using the appropriate username and password.

  
Login to rate this answer.
muthu

Answered On : Sep 19th, 2005

Connect username password

  
Login to rate this answer.
Ramakrishna

Answered On : Nov 22nd, 2006

Hi All,By writing the shallscript we can directly connected to oracle#!/user/bin/bashsqlplus "/as sysdba"connect SELECT distinct contactname,address FROM customers;shutdown immediate

Yes  1 User has rated as useful.
  
Login to rate this answer.
Vaibhav

Answered On : Apr 3rd, 2007

This should be as below:sqlplus -s userid/password@databaseIn case you want to connect to SQL databasesqsh -S Servername -U username -P passwordIn case od SYBASEisql -S Servername -U username -P passwordRegards,Vaibhav

Yes  1 User has rated as useful.
  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.