About 10,900,000 results
Open links in new tab
  1. sql server - Get size of all tables in database - Stack Overflow

    Jul 29, 2016 · Here is a way to get all tables' sizes quickly with the following steps: Write the given T-SQL commands to list all database tables: select 'exec sp_spaceused ' + TABLE_NAME …

  2. How to find the size of a table in SQL? - Stack Overflow

    Jan 4, 2019 · SQL Server provides a built-in stored procedure that you can run to easily show the size of a table, including the size of the indexes… which might surprise you. Syntax: …

  3. Check Database Table Size in SQL Server

    Nov 7, 2023 · In this SQL Server tutorial, you learned how to check the size of tables in a database in sql server using the different stored procedures and sys views. Also learned how …

  4. SQL SERVER – List Tables with Size and Row Counts

    Feb 12, 2021 · Today we will see a very simple script that lists table names with the size of the table and along with that row counts. Let us learn it in today.

  5. How to Quickly Get Table Sizes in SQL Server - SQL DBA Blog

    Oct 1, 2018 · Quickly check table sizes in SQL Server with tips from an experienced DBA. We include checking this from SSMS and by running SQL queries.

  6. How to Determine the Table Size in SQL Server: A Quick Guide

    Feb 11, 2025 · One of the most straightforward ways to check the table size in SQL Server is by running a T-SQL query. You can get a quick estimate of how much space a table is using by …

  7. SQL Server : Get size of all tables in database - Microsoft Q&A

    Jul 11, 2021 · cast((cte.pages * 8.)/1024 as decimal(10,3)) as TableSizeInMB, . cast(((CASE WHEN cte.used_pages_count > cte.pages . THEN cte.used_pages_count - cte.pages. ELSE …

  8. Find Size Of Tables In Database - SQL Server - My Tec Bits

    Jan 18, 2017 · Here we will go through some of the easiest methods to get the size of all the tables in a database. This will help you to identify the tables with abnormal size. 1. Find Size …

  9. How to determine the size of my tables in the SQL Server database

    Oct 28, 2014 · Is there any built-in function/stored procedure/query which is helpful to retrieve information about the size of MyTable in the SQL Server database? This answer on SO has a …

  10. How To Find Table and Index Sizes in SQL Server

    Apr 12, 2019 · Sometimes we need to list table sizes in SQL Server. For example, we need to find large tables before we start making Compression or before deciding which tables to partition. …

  11. Some results have been removed
Refresh