How to connect oracle database from unix
Answers were Sorted based on User's Feedback
Answer / basha
Hi this is correct way to connect oracle using unix.
sqlplus username/passord@datasbename
| Is This Answer Correct ? | 66 Yes | 9 No |
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 |
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 |
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 |
Answer / debendra nath panigrahi
sqlpus -s username/passwd >>eof
select * from emp;
| Is This Answer Correct ? | 2 Yes | 7 No |
What is default permissions for others in a file?
What is the difference between > and >> operators?
What is a pipe?
How to set Windows as Default OS when Dual Booting Ubuntu?
process id for kernell process?
What is the difference between grep & find?
What steps are required to perform a bare-metal recovery?
What is 'inode'?
Explain iostat, vmstat and netstat.
The very first process created by the kernal that runs till the kernal process is haltes is
What are the processes that are not bothered by the swapper? Give Reason.
in unix how to change old name to new name