Name Pipes,一般局域网用,速度最快,必须用服务器名连接。
TCP/IP,可以用于局域网和远程,可以用用服务器名和IP地址连接。
MultiProtocol,不清楚。如何知道SQL SERVER是用NT还是SQL验证?
可以在企业管理器查到。
TCP/IP,可以用于局域网和远程,可以用用服务器名和IP地址连接。
MultiProtocol,不清楚。如何知道SQL SERVER是用NT还是SQL验证?
可以在企业管理器查到。
解决方案 »
- 为什么两条语句结果不同?
- 请高手看看,求一个SQL语句,稍微有些难吧!
- 叶子、iamaitman、筱筱澄什么的高手,再难为你们一小下,这个问题你们解答过的
- SQL的一个内部问题和错误
- 2009-8-5 下午 12:42:17 datetime类型 出现这个样子,读出来的是0001年01月01日,怎么办?
- 求教高手
- 快速获得销售订单最后一次修改的金额
- 邹建的分页存储过和能不能返回记录的总数啊?
- 为什么这条sql server三表联合查询语句为什么不能把PRDT_CUS里表的符合条件的数据全部查出来?附数据库结构,(麻烦高手进来看看)
- dbf导入SQL 2005出现错误:列名 "拟选建设?" 是重复的。
- 请问SQL Server 2000能不能在NT 4.0下安装?
- 我知道ms sqlserver的帮助是最好的书,但是太枯燥,看起来没效果,希望推荐一本好书,看完后再看帮助!多谢!
conn.Open "dsn=sise;uid=sa;pwd=admin"
PB:中
SQLCA.Database = 'dbname'
SQLCA.ServerName = 'PCName'
SQLCA.LogId = 'sa'
SQLCA.LogPass = 'abc'
1.Automatic selection of an available network protocol to communicate with
Microsoft® SQL Server™.(自动选择)
This is convenient when you want to connect to multiple servers
running different network protocols, but do not want to
reconfigure the client connection for each server. If the client and
server Net-Libraries for TCP/IP Sockets, NWLink IPX/SPX, or Named Pipes
are installed on the client and server, the Multiprotocol Net-Library will
automatically choose the first available network protocol to establish a
connection. 2.Client encryption. (加密,网络传输性能降低25%,lan上不会有太大影响)
You can enforce encryption over the Multiprotocol Net-Library on clients
running Microsoft Windows NT® or Microsoft Windows® 95/98 to prevent
others from intercepting and viewing sensitive data.
strConnect = "Provider=sqloledb;Data Source=TestServer;Initial Catalog=TestDataBase;User Id=UserId;password=Pass; "
dim con as new adodb.connect
con.open strConnect
...
strConnect = "driver={SQL Server};server=testserver;uid=sa;pwd=pass"
这种连接方式,应该是Named Pipes。理由:
因为是指定了servername,而机器名不是TCP/IP所支持的东西。而且在能识别机器名的网络里,Named Pipes是最快的,作为默认连接也是可以理解的。
不知分析的对不对
tcp/ip不用说了吧;
multi protocol(多协议)使用windows RPC结构来通信。它支持以上两种协议。