---
title: "How would you find out the total number of rows in a DB2 table?"  
description: "How would you find out the total number of rows in a DB2 table?"  
author: "Anonymous User"  
published: 2011-05-20  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/974/how-would-you-find-out-the-total-number-of-rows-in-a-db2-table  
category: "db2"  
tags: ["db2"]  
reading_time: 1 minute  

---

# How would you find out the total number of rows in a DB2 table?

Use SELECT COUNT(*) ... in db2 query

## Answers

### Answer by Anonymous User

Use SELECT COUNT(*) ... in db2 query


---

Original Source: https://www.mindstick.com/interview/974/how-would-you-find-out-the-total-number-of-rows-in-a-db2-table

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
