携带SQL SERVER数据库文件 [英] Carry SQL SERVER Database file

查看:92
本文介绍了携带SQL SERVER数据库文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在SQL Server 2008和c#Windows应用程序中创建了一个数据库"Photo_Bucket".它们都已连接..现在,我想将此应用程序的exe携带到未安装SQL Server的另一个系统中.我如何仍可以在该系统上使用此数据库文件,以及必须将sql server中的哪个文件该系统..
在此先谢谢您.

Hi every body, i had created a database "Photo_Bucket" in SQL Server 2008 and a c# windows application. They both are connected.. Now i want to carry this exe of this application to another system in which SQL Server is not installed.How can i still use this database file on that system and which file file from sql server has to be taken to that system..
Thanks in advance.

推荐答案

除非这两者是通过某种形式的网络连接的,否则您将无法在另一台PC上安装SQL Server或可以连接的PC.

您可能还需要在新"计算机上安装.NET Framework.

我强烈建议您,如果只希望可以随身携带一个用户数据库,请使用Access或SQLCE或SQLite代替-SQL Server是一个庞大而复杂的大锤,可以破解一个小小的螺母.
Unless the two are connected via a network of some form, you can''t, without installing SQL Server on the other PC, or a PC it can connect to.

You may also need to install the .NET Framework on the "new" machine.

I would strongly recommend that if you just want a single user database you can carry around, that you use Access, or SQLCE, or SQLite instead - SQL Server is a big, complex sledgehammer to crack a small nut.


这篇关于携带SQL SERVER数据库文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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