在visual studi 2013中创建sql本地数据库 [英] Create sql local database in visual studi 2013

查看:76
本文介绍了在visual studi 2013中创建sql本地数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在visual studio 2013中为独立桌面应用程序创建SQL Local Database?什么是基于服务的数据库,它可以用于桌面应用程序吗?

How to create SQL Local Database in visual studio 2013 for standalone desktop application ? And what is Service based database and can it be used for desktop application?

推荐答案

如果要创建一个数据库,这是一个单一的用户数据库,本地并绑定到您的程序,您可以使用 Sql Server Compact Edition [ ^ ]作为项目中的嵌入式数据库<基于服务的数据库用于多用户情况,其中数据库通常设置在负责运行SQL Server服务的单独服务器上。对于基于服务的数据库,您可以使用例如SQL Server Express版本。请参阅 SQL Server Editions [ ^ ]



有关如何使用精简版的说明,请访问使用SQL Server Compact [ ^ ]
If you want to create a database which is a single user database and local and tied to your program, you can use Sql Server Compact Edition[^] as an embedded database in your project

A service based database is used in a multi user situation where the database is set up typically on a separate server taking the responsibility to run SQL Server services. For a service based databvase you can use for example SQL Server Express edition. See SQL Server Editions[^]

Good instructions how to use Compact edition can be found at Working with SQL Server Compact[^]


这篇关于在visual studi 2013中创建sql本地数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆