What is an SDF file? A file with .sdf extension contains the Microsoft SQL Server Compact (SQL CE) database which is also known as a compact relational database; produced by Microsoft for the applications made for mobile devices and desktops. It supports both 32 and 64 bits operating system and the complete content of database is included in a single SDF file and can occupy more than 4GB disk space. For the security purpose, a .