without using count(*) and rownum how can we count total
record in a table
Answer Posted / vignesh lakshmirajan
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 |
Post New Answer View All Answers
20. Using a set operator, display the client number of all clients who have never placed an order.
How to store pictures on to the database?
What is a database schema in oracle?
How can I create database in oracle?
Explain the difference between a procedure and a function?
How many types of auditing in Oracle?
What are the different types of partitions in oracle?
What is a cursor in oracle?
Is the After report trigger fired if the report execution fails ?
What happens if the update subquery returns multiple rows?
nw i'm doing MBA system and planning to do oracle,database management.tell me that whether it is useful r not?.refer any course for my carrier pls
How to define a specific record type?
Select all the employees who were hired in last 2 years and who works in dept where max managers are working.
What is the implicit cursor in oracle?
IS it possible to built the oracle database without setting the kernal parameters?