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

Explain integrity constraints?

0 Answers  


How to convert characters to numbers in oracle?

0 Answers  


what are the diffeenes between oracle 9i,oracle 10g

2 Answers  


How to create a new table by selecting rows from another table?

0 Answers  


What is the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN?

1 Answers  


what is the scenario where you take the database to NoArchivelog mode?

0 Answers  


Which Department has MOST NUMBER of employees?

8 Answers   IBM, LeadSquared, Mastek,


Explain the use of grant option in exp command.

0 Answers  


Explain the use of indexes option in exp command.

0 Answers  


How to connect to the server with user account: sys?

0 Answers  


how to select second mauximum value in a given table under salary column

6 Answers   Sapient,


Please help me how to write a Query to change the primary key constraint from 1 attribute to another attribute in a table

3 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • 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)