How to find the number of rows in a db2 table?



How to find the number of rows in a db2 table?..

Answer / Yudhishthir Singh

To find the number of rows in a table in DB2, you can use the SQL SELECT COUNT*(*) command. For example: `SELECT COUNT*(*) FROM TABLE_NAME;`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

How to create a table using embedded sql?

1 Answers  


Name the various locking levels available?

1 Answers  


What is the cobol picture clause of the db2 data types date, time, timestamp?

1 Answers  


Explain packages.

1 Answers  


pls explain the precompilation process of cobol-db2 pgm

3 Answers   HCL, IBM,


What is a collection in db2?

1 Answers  


What are the disadvantages of using VARCHAR?

3 Answers  


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

2 Answers  


what is Static and dynamic linking

1 Answers   Virtusa,


What will happen, while trying to close the closed cursor.

1 Answers  


What is the FREE command?

1 Answers  


What are the various locks available?

5 Answers   CTS,


Categories