<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "不需設定ODBC的MS SQL Sever Connection String"]]></title>
		<link>https://forum.andowson.com/posts/list/12.page</link>
		<description><![CDATA[Latest messages posted in the topic "不需設定ODBC的MS SQL Sever Connection String"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>不需設定ODBC的MS SQL Sever Connection String</title>
				<description><![CDATA[ 以下兩種方式都可以達成： 
<br>
[b]MS SQL Server DSNless connection[/b] 
<br>
[code]Driver={SQL Server};Server=servername;Database=dbname;Uid=username;Pwd=password;[/code] 
<br>
[b]MS SQL Server OLE DB connection[/b] 
<br>
[code]Provider=SQLOLEDB;Data Source=machineName;Initial Catalog=dbname;User ID=username;Password=password;[/code] 
<br>
例如：資料庫伺服器的IP是192.168.1.68，資料庫是testdb，帳號是test，密碼是noOneKnows 
<br>
[b]MS SQL Server DSNless connection[/b] 
<br>
[code]Driver={SQL Server};Server=192.168.1.68;Database=testdb;Uid=test;Pwd=noOneKnows;[/code] 
<br>
[b]MS SQL Server OLE DB connection[/b] 
<br>
[code]Provider=SQLOLEDB;Data Source=192.168.1.68;Initial Catalog=testdb;User ID=test;Password=noOneKnows;[/code] 
<br>
<br>
參考資料： 
<br>
http://class2u.idv.tw/book/ultradev4/connection.htm]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/167/257.page</guid>
				<link>https://forum.andowson.com/posts/preList/167/257.page</link>
				<pubDate><![CDATA[Thu, 20 Sep 2007 11:06:38]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>