Does user need SQL 2008 Express Installed if I dep

2020-03-26 13:34发布

I'm making a Win app on the 3.5 framework. I'd like to include a database file with the app. This would a single-user db. I looked at the 2 different types of db files I can add, the sdf and mdf. Thw sdf (compact) db is missing some functionality I need, so I prefer the mdf. The description on the mdf file "Service oriented database file" leads me to believe that whoever installed my application would also have to install the SQL service required to access that mdf. Is this correct?

2条回答
唯我独甜
2楼-- · 2020-03-26 13:42

Yes, at a minimum SQL Express would be required. The advantage of the compact edition is that this requirement is eliminated since the database engine can be x-copy deployed.

查看更多
时光不老,我们不散
3楼-- · 2020-03-26 14:03

Yes. MDF is just a file and needs a SQL Server database engine to use it.

查看更多
登录 后发表回答