Size of a single Record ? SQL

后端 未结 5 1410
名媛妹妹
名媛妹妹 2021-02-05 11:31

I have a scenario where every user has been allocated 2 MB of database space. Now I have to show Percenatge usage of their allocated space, to do so I need to know the size of s

5条回答
  •  迷失自我
    2021-02-05 12:01

    Run DBCC SHOWCONTIG with your table name

    dbcc showcontig ('TableName') with tableresults
    

    then look at max min and average record size

提交回复
热议问题