SQL SERVER 2008中的连接字符串 [英] Connection string in SQL SERVER 2008
本文介绍了SQL SERVER 2008中的连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用初始目录和数据库之间有什么区别?有人可以解释一下吗?
What is the difference between using Initial Catalog and Database ? Can anyone explain this, please?
"Data Source=TERMS;Initial Catalog=TERMSUS;User ID=DBADMIN;Password=dbadmin"
"Data Source=TERMS;Database=TERMSUS;User ID=DBADMIN;Password=dbadmin"
以上两个请说明。他们做同样的工作吗?
Above two explain please. Are they do the same job?
推荐答案
请参考以下链接。在那里你会找到答案;)
.NET连接字符串关键字 [ ^ ]
所有SQL Server SqlConnection属性 [ ^ ]
连接字符串关键字和数据源名称(DSN) [ ^ ]
使用SQL Server Native Client使用连接字符串关键字 [ ^ ]
ASP.NET Web应用程序的SQL Server连接字符串 [ ^ ]
Please, refer below links. There you'll find an answer ;)
.NET Connection-String Keywords[^]
All SQL Server SqlConnection properties[^]
Connection String Keywords and Data Source Names (DSNs)[^]
Using Connection String Keywords with SQL Server Native Client[^]
SQL Server Connection Strings for ASP.NET Web Applications[^]
您好b $ b
您可以在下面链接找到您的答案。< br $> b $ b
http ://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnectionstringbuilder.initialcatalog.aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection。 database.aspx [ ^ ]
http://www.connectionstrings.com/sql-server [ ^ ]
最好的问候。
Hi
You can find your answer below links.
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnectionstringbuilder.initialcatalog.aspx[^]
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.database.aspx[^]
http://www.connectionstrings.com/sql-server[^]
Best Regards.
这篇关于SQL SERVER 2008中的连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文