- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
sql server 2008连接字符串写法大全(SQL Server 2008 connection string writing Daquan)
sql server 2008连接字符串写法大全(SQL Server 2008 connection string writing Daquan)
SQL Server 2008 connection string writing.
.NET Framework, a Data Provider for SQL Server
Type:.NET Framework Library
Use: System.Data.SqlClient.SqlConnection
Manufacturer: Microsoft
Secure connection standard
Data Source = myServerAddress; Initial = Catalog myDataBase; User Id = myUsername; Password = myPassword; use the server name \ instance name as the connection specified SQL Server instance data source. If you are using SQL Server 2008 Express version, for instance name SQLEXPRESS.
Safety standard for alternative connection
Server = myServerAddress; Database = myDataBase; User ID = myUsername; Password = myPassword; Trusted_Connection = False; the connection string to keep a same effect. Write it out just want to say, actually a lot of connection string keywords in various writing.
Trusted connection
Data Source = myServerAddress; Initial = Catalog myDataBase; Integrated Security = SSPI; alternative trusted connection
Server = myServerAddress; Database = myDataBase; Trusted_Connection = True;
Connect the Windows CE equipment trusted connection
Usually a Windows CE device is not authenticated and logged in a domain. In order to get a CE device using SSPI or trusted connection and authentication, can use the following connection string:
Data Source = myServerAddress Initial; Catalog = myDataBase; Integrated = Security SSPI; User ID myDomain = \myUsername; Password = myPassword; note that this statement is only in use on equipment CE.
Connect using IP address
Data Source = 190.168.1.1001433; Network = Library DBMSSOCN; Initial Catalog User = myDataBase; ID = myUsername; Password = myPassword; this statement instead of a named pipe with TCP/IP address. In the Data Source field is the last use of the port. SQL Server use the default port is 1433.
Open MARS function (multiple active result sets)
Server = myServerAddress; Database = myDataBase; Trusted_Connection = True; MultipleActiveResultSe
您可能关注的文档
- ppr管的规格标识(Specification specification for PPR tubes).doc
- ppt技巧(Ppt skills).doc
- pppoe(拨号上网)常见故障代码及分析(Common trouble codes and analysis of PPPoE (dial-up Internet access)).doc
- ppt插入动画视频音频(Ppt inserts animation, video, audio).doc
- ppr十大品牌——飞速发展的金潮管业(PPR ten big brands -- the rapid development of golden tide tube industry).doc
- plc、变频器、触摸屏综合应用实训(PLC, frequency converter, touch screen comprehensive application training).doc
- ppt格式要求(Ppt format requirements).doc
- ppt转换word(PPT转换字).doc
- ppt背景音乐(Ppt background music).doc
- ppr管材详细标准(PPR pipe detail specification).doc
- sqlserver数据库ldf文件过大解决方法(SQLSERVER database LDF file too large solution).doc
- ss7e简答(Use the SS7E).doc
- sql语句的循序渐进写法(Progressive writing of SQL statements).doc
- star(星座英文名)(Star (constellation in English)).doc
- ssh三大框架的作用以及数据库连接(The role of the SSH three framework and database connectivity).doc
- sqlserver存储过程循环写法(Sqlserver stored procedure loop writing).doc
- stm32中几个gpio寄存器总结(Summary of several GPIO registers in stm32).doc
- string方法摘要(String method summary).doc
- star原则 -- 一份简历带来的话题(Star principles -- the topic of a resume).doc
- struts1 标签(struts1 标签).doc
文档评论(0)