Converting MDF to SDF

让人想犯罪 __ 提交于 2019-12-11 10:38:10

问题


I've done a bit of Googling trying to find out how to convert a .MDF file to a .SDF. There doesn't seem to be much around apart from an old article for something called 'SQL Server to SQL Server Compact Edition Database Copy Utility'. As this is so old, I doubt it will work with the newer versions of SQL Server databases. Is there a more established and official method of achieving this now? Ideally I need something that will migrate the data as well as the table structures.


回答1:


You can use my free VS add-in "SQL Server Compact Toolbox" to migrate data and schema from a SQL Server database to SQL Server Compact via script or directly in the GUI



来源:https://stackoverflow.com/questions/31453123/converting-mdf-to-sdf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!