Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

20. Using a set operator, display the client number of all clients who have never placed an order.

2236


How to store pictures on to the database?

1030


What is a database schema in oracle?

1147


How can I create database in oracle?

1066


Explain the difference between a procedure and a function?

1237


How many types of auditing in Oracle?

1086


What are the different types of partitions in oracle?

1031


What is a cursor in oracle?

1228


Is the After report trigger fired if the report execution fails ?

2951


What happens if the update subquery returns multiple rows?

1164


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

2262


How to define a specific record type?

1134


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

3021


What is the implicit cursor in oracle?

1168


IS it possible to built the oracle database without setting the kernal parameters?

2393