Do you have blob storage configured by any chance? It might explain why your MDF file is smaller on disk. db.DiskSizeRequired shows how large is database in terms of consumed spaced. This should include your total content size + log file size minus unused space. Database size in SSMS shows how much space your content and logs take, plus reserved space that's ...


Try as following: IF(LEN([AZDP])=176, "1", "0") More inforamtion: https://support.microsoft.com/en-us/office/if-function-7025be14-5665-43d0-af20-8293d1fe9d3a

Only top voted, non community-wiki answers of a minimum length are eligible