Tac11 (2/27/2015)
In my database there is a big table and format is something like this:CREATE TABLE [dbo].[MyTable](
[aaa] [uniqueidentifier] NULL,
[bbb] [uniqueidentifier] NULL,
[ccc] [nvarchar](max) NULL,
[ddd] [nvarchar](100) NULL,.......etc.........
There are some more columns with more 'nvarchar' (max) and other INT data types. Anyway, I know a page is 8K size. How do I find out how much space does A ROW takes with above datatypes? If users add 5000 Rows per day, how do I figure out how much size the table will increase?
Thank you.
Wouldn't it be easier to just check the size of the whole table using something like sp_SpaceUsed and then divide that by the number of the rows in the table to come up with an average row size?
--Jeff Moden
Change is inevitable... Change for the better is not.