且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在不安装sql server的情况下连接sql数据库

更新时间:2022-12-12 20:28:30

要连接到MS SQL Server,您需要正确设置连接字符串 [ ^ ]。

但之前,您需要将某些MS SQL Server属性更改为启用TCP / IP网络协议 [ ^ ]。

Hi
I am creating a window application with the backend of sql server2008 r2. I want to install this application to client machine without installing sql server

How can i connect to a database on client machine through my window application without installing sql server. ?

To connect to MS SQL Server, you need to properly set connection string[^].
But before, you need to change some MS SQL Server properties to enable TCP/IP network protocol[^].