how to find count rows in table without count function?

Answers were Sorted based on User's Feedback



how to find count rows in table without count function?..

Answer / mani

Select max(rownum) from table_name;

Is This Answer Correct ?    35 Yes 0 No

how to find count rows in table without count function?..

Answer / anil kumar

select sum(1) from table_name;

Is This Answer Correct ?    11 Yes 0 No

how to find count rows in table without count function?..

Answer / rajender varma

Select num-rows from user-tables where table-name='emp'

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

i have a table with 1 lac of data.i want to insert this data into another table. i want every 5000 of data insert use a commit.using counter and if error is comming in the 5000 of data it rollback.

1 Answers   MasterCard,


Explain what are the type of synonyms?

0 Answers  


What is PL/SQL ?

0 Answers  


Will you be able to store pictures in the database?explain.

0 Answers  


How to find the duplicate rows count from employees table in oracle?

0 Answers  






how can we store any pdf file in oracle

0 Answers  


In oracle there is column command, how will you explain that?

0 Answers   Aricent,


How to Truncate Table in Oracle

0 Answers   HCL,


What is the difference between "as" and "is" in an oracle stored procedure?

0 Answers  


How do we get field detail of a table?

0 Answers  


Is primary key = unique key,not null? If yes,please explain IF No,please explain

8 Answers   Genpact,


How to estimate disk space needed for an export job?

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)