附加外部数据库sql server 2005 [英] Attach external database sql server 2005

查看:96
本文介绍了附加外部数据库sql server 2005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好先生,

如何在c#.net(窗口应用程序)中进行设置时,在我们的项目中附加来自sql server 2005的外部数据库。因此它可以在另一台PC上运行。



解决我的问题



我在等你的回答。 ..

Hello sir,
How to attach external database from sql server 2005 in our projects while making setup in c#.net(window application). Therefore it can run on another PC.

Solve my problem

I am waiting for your answer...

推荐答案

首先你的问题不清楚



尽我所知你的问题,第一个解决方案是使用管理工作室/编程备份您的数据库,并在客户端的PC的SQL服务器中恢复它。



或者,如果您在安装软件时询问如何使数据库自动安装在客户端的PC中,那么你需要b / b
使用精简版而不是sql server。



http://stackoverflow.com/questions/9818169/basic -start-with-visual-studio-c-sharp-and-sql-compact-connect-select-insert [ ^ ]
first of all your question is not clear

as much i have understood your question, first solution is to take backup of your database using management studio/programatically and restore it in sql server of client's pc .

Alternatively,
if you are asking about how to make your database to install automatically in client's pc when you install the software then you should use the compact edition not the sql server.

http://stackoverflow.com/questions/9818169/basic-start-with-visual-studio-c-sharp-and-sql-compact-connect-select-insert[^]


这篇关于附加外部数据库sql server 2005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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