Is there a way to find out how much space (on disk) does a row in my database occupy?
I would really like to see it for SQL Server CE, but SQL Server 2008 does not work (I keep the same data in both).
I ask that I have an Image column in my SQL Server CE db (this is varbinary [max] in SQL DB 2008 db), and now I need to know a lot of rows that I can save before I select memory on my device.
Maybe not 100% what you wanted, but if you want to know how much image size will only take
SELECT [RaportID] ,DATALENGTH([RaportPlik]) AS 'FileSize' ,[RaportOpis] ,[RaportDataOd] ,[RaportDataDo] FROM [Database]
, ( ..).
varbinary (max) 2 . , , , DATALENGTH, , , .
- " , , - , , , . , , , , , .
For guessing purposes, just the size of your image is a good approximation of the size of the line; The overhead of the row structure is negligible.
Source: https://habr.com/ru/post/1741961/More articles:Изменение размера формы на основе видимости подформы - ms-accessResharper and Custom Live template not working - c #Manually merging a list in C # with duplicates - listOracle Intermediate Size - performancehow to create a one-dimensional dynamic array in c #? - arraysExtract external query string / javascript binding value: file.js # foo = bar - javascripthow to work in the background - javaflexible support for REST methods - flexJava static and streaming security or what to do - javaIs Rails 3 a "_method = PUT" that should still work? - flexAll Articles