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

How to convert characters to times in oracle?

1023


How to store pictures on to the database?

979


What do you understand by database schema and what does it hold?

1231


can u send the sql dumps to sivakumarr1987@gmail.com plz help me

3053


How to assign values to data fields in record variables?

1036


How can windows applications connect to oracle servers?

1058


What is a select query statement in oracle?

970


How to use attributes of the implicit cursor in oracle?

1011


How to set a transaction to be read only in oracle?

1095


What is the difference between truncate & delete command?

1186


what is the use of triggers in Java program? I mean where do we use triggers in Java programming?

2188


Why is oracle used?

944


Is postgres faster than oracle?

1046


What is a lookup table in oracle?

973


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

2001