how to find count rows in table without count function?

Answer Posted / anil kumar

select sum(1) from table_name;

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to load data through external tables?

851


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

2127


How to select an oracle system id (sid)?

781


What is rowid and rownum in oracle?

769


How do I escape a reserved word in oracle?

857


How to connect to oracle using service name instead of sid?

772


How would you go about verifying the network name that the local_listener is currently using?

1807


How to recover a dropped table in oracle?

795


How to create a new table in your schema?

806


Query to retrieve record for a many to many relationship ?

2280


Can we commit inside a function in oracle?

726


What is a cursor variable?

784


What are the different types of synonyms?

816


Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.

2062


if you ctreate table identity

2110