SQL服务器编程 [英] SQL server Programing

查看:98
本文介绍了SQL服务器编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的好友:

我有两个问题:

1.如果我使用sql server创建数据库并将此db文件及其使用该db的应用程序带到另一台计算机上,我的应用程序能正常工作吗? (我认为连接字符串"将被更改)

2.我的程序可以在没有sql managment sys的另一台计算机上正常工作吗?
Yours

Dear Buddies:

I have two questions:

1. if I create a database using sql server and bring this db file and its application program which uses this db to another computer does my application works? (I think the CONNECTION STRING will be changed)

2. can my program work properly in another computer without sql managment sys.?

Yours

推荐答案

对于1,是的,需要修改连接字符串.请参考 SQL Server 2008的连接字符串 [
For 1, yes the connection string needs to be modified. Please refer to Connection strings for SQL Server 2008[^]

For 2, yes, on the client side you just need the SQL Server client, which is part of the .Net framework (SqlClient namespace)


这篇关于SQL服务器编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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