我试图使用sp_spaceused甚至编写一个使用datalength的自定义过程,但是它们的结果却有很大的差异.
有没有办法让这个东西正确.
dbcc showcontig ('TableName') with tableresults
然后查看最大最小值和平均记录大小