unix command how to dispaly no of records in oracle?
Answer Posted / david
hey guys ..you are not getting the question .what the actual
question is ......
you have to display the no of records from the oracle table
by unix command ....
and the answer is ...
vi script.sh
sqlplus sys/123 as sysdba << abc
spool on
spool file_name
select * from scott.emp;
spool off
abc
exit
a=cat file_name|wc -l
echo this is ur $a no. of records in oracle's emp records...
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Describe the term directory?
Differentiate swapping and paging.
What is positional parameters in unix?
Write a shell script that requests the user's age and then echoes it, along with some suitable comment.
What is unix buffer cache?
Explain system bootup in unix.
Discuss the mount and unmount system calls ?
What is file structure in unix?
How zip the file in unix?
i m putting 2.6yrs fake exp in oracle/unix production support i want to know some real time issues,like tell me the challenging issue u ever faced? my project is credit card application plz help me!
Explain file system in unix.
Explain a path in unix.
What is unix kernel explain it?
What is unix directory structure?
What is the use of unix?