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
Name the different file types available with unix.
What unix is mac os based on?
What are the essential features of the unix operating system?
Describe the term inode?
What is Process id in unix?
How would you identify daemons in unix?
Is a directory unix?
What is the full meaning of unix?
How to remove the first line/header from a file in Unix?
Describe the responsibilities of shell in brief.
Differentiate multiuser from multitask.
Is it possible to see information about a process while it is being executed?
Discuss the mount and unmount system calls ?
Is the Process before and after the swap are the same? Give reason.
How to change the password in unix operating system?