without using count(*) and rownum how can we count total
record in a table
Answers were Sorted based on User's Feedback
simple..!!! Findout the primary key of the table..
then..
select count(primary_key_column) from table;
thats all; becos count vil work with non-null values.
primary key cant b null..
so.. v can use count on primary key...
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / rajesh
SQL> SELECT TABLE_NAME, NUM_ROWS FROM USER_TABLES WHERE TABLE_NAME='EMP';
TABLE_NAME NUM_ROWS
------------------------------ ----------
EMP 14
| Is This Answer Correct ? | 3 Yes | 0 No |
What is backup in Oracle?
What is an oracle data file?
How to store pictures on to the database?
How to rename a tablespace in oracle?
what is the difference between simple view and complex view?
How to call a sub procedure?
I creat Credit memo in AR. Now i want revers the Credit Memo.how you can revers that what out any aditional entry.
What is a partition in oracle?
hai, when to use char and varchar2....?
which is the best training centre for learning oracle?
How do I know if oracle client is installed on windows?
Describe varray?