How to connect oracle database from unix

Answers were Sorted based on User's Feedback



How to connect oracle database from unix..

Answer / basha

Hi this is correct way to connect oracle using unix.

sqlplus username/passord@datasbename

Is This Answer Correct ?    66 Yes 9 No

How to connect oracle database from unix..

Answer / sashi

In Unix prpomt type the command
sqlplus -s username/passwd <<EOD
select * from emp;
EOD

Is This Answer Correct ?    56 Yes 14 No

How to connect oracle database from unix..

Answer / jaga

oracle need to install on unix. and database has to
configured in /oracle/network/admin/listener.ora file.
then use sqlplus dbname@sa/sa

Is This Answer Correct ?    43 Yes 13 No

How to connect oracle database from unix..

Answer / dba

The other answers will work, but would allow other users to see the passwords using ps or history.

sqlplus /nolog
@ > connect username/password@database

or

sqlplus username@database
Enter password:

Is This Answer Correct ?    13 Yes 3 No

How to connect oracle database from unix..

Answer / marigold

Set ORACLE_HOME & ORACLE_SID environment variable.
Then use sqlplus username@ORACLE_SID

Is This Answer Correct ?    0 Yes 0 No

How to connect oracle database from unix..

Answer / debendra nath panigrahi

sqlpus -s username/passwd >>eof
select * from emp;

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Unix AllOther Interview Questions

why unix command can be divided into internal and external command

1 Answers   IBM,


How to put a job in background & bring it to foreground?

3 Answers  


What is the difference between grep & find?

3 Answers   HCL,


hi.when will u come to klnce 4 campus interviews??/

0 Answers  


How to find the version details of unix? if any application is installed in unix OS how to find the version of that application is it possilbe or not? pls let me know cmd in detail.

5 Answers   HCL,






what is difference between kernel and shell?

18 Answers   Juniper Networks,


. Using sed and grep, write a command which lists files and directories with following properties: (i) created in 1999 (ii) with user's as owner and group

0 Answers  


What is a Map?

0 Answers  


What UNIX command will control the default file permissions when files are created?

3 Answers  


How to setup display for a remote system?

3 Answers  


How does the inode map to data block of a file?

3 Answers  


HOW DO CREATE A NFS FILE SYSTEM

4 Answers   Mind Tree,


Categories