how do u know the total no of rows in a table?

Answers were Sorted based on User's Feedback



how do u know the total no of rows in a table?..

Answer / rajasekar

Select count(*) from table

Is This Answer Correct ?    13 Yes 0 No

how do u know the total no of rows in a table?..

Answer / ajeet singh

select count(*) from <tablename>;

Is This Answer Correct ?    3 Yes 0 No

how do u know the total no of rows in a table?..

Answer / mohd akhtar

select sum(1) from emp

Is This Answer Correct ?    4 Yes 3 No

how do u know the total no of rows in a table?..

Answer / javid khan

select count(*) from table;

Is This Answer Correct ?    1 Yes 0 No

how do u know the total no of rows in a table?..

Answer / kamala k n

select count(*) from table name

Is This Answer Correct ?    0 Yes 0 No

how do u know the total no of rows in a table?..

Answer / gurudatt

better way is to use the sys.indexes table where it gives the total no rows for each table.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle General Interview Questions

Two triggers one is before insert and other is after insert are firing on a table.If 10 times you insert in a table.Then how many times before trigger and how many types after trigger will fire in pl/sql.

1 Answers  


Can we store pictures in the database and if so, how it can be done?

0 Answers  


Why use resource manager in Oracle?

0 Answers   MCN Solutions,


How do I find my oracle client driver version?

0 Answers  


Query to get max and second max in oracle in one query ?

34 Answers   CTS, Keane India Ltd, TCS, Wipro,






25. Display the client number and the value of the highest value order placed by that client.

2 Answers   Wipro,


How to load data through external tables?

0 Answers  


How to define an explicit cursor in oracle?

0 Answers  


How do we switch from init.ora file to asp file?

2 Answers  


What is the use of aggregate functions in oracle?

0 Answers  


Explain joins in oracle?

0 Answers  


What is difference between sid and service name in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)