<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: PHP, Microsoft SQL Server (MSSQL), and IIS:  Connect and Query with&#160;ODBC</title> <atom:link href="http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 19:56:08 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: jaideep</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-24237</link> <dc:creator>jaideep</dc:creator> <pubDate>Thu, 26 May 2011 12:17:48 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-24237</guid> <description>hopefully it&#039;s help alottttt
http://discussion.accuwebhosting.com/php-scripts/698-how-connect-ms-sql-database-server-php.html</description> <content:encoded><![CDATA[<p>hopefully it&#8217;s help alottttt<br
/> <a
href="http://discussion.accuwebhosting.com/php-scripts/698-how-connect-ms-sql-database-server-php.html" rel="nofollow">http://discussion.accuwebhosting.com/php-scripts/698-how-connect-ms-sql-database-server-php.html</a></p> ]]></content:encoded> </item> <item><title>By: patrick</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-16467</link> <dc:creator>patrick</dc:creator> <pubDate>Sun, 14 Mar 2010 13:49:46 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-16467</guid> <description>Hello David
Can you share anymore information on making the connection? I need to make the same type of connection but don&#039;t have a helpful host. Did you need special extensions compiled into PHP?$virtual_dsn  = &#039;DRIVER={SQL Server};SERVER=database.domain.org,45277;DATABASE=MyDatabase&#039;;</description> <content:encoded><![CDATA[<p>Hello David<br
/> Can you share anymore information on making the connection? I need to make the same type of connection but don&#8217;t have a helpful host. Did you need special extensions compiled into PHP?</p><p>$virtual_dsn  = &#8216;DRIVER={SQL Server};SERVER=database.domain.org,45277;DATABASE=MyDatabase&#8217;;</p> ]]></content:encoded> </item> <item><title>By: Blivet</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-12303</link> <dc:creator>Blivet</dc:creator> <pubDate>Wed, 30 Sep 2009 02:36:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-12303</guid> <description>First, David, your the man. All I can say.I have been using odbc to mysql for years now. I work on projects in the public sector pulling data from various sources and manipulating it into various formats depending on the client needs. Other than the tablenames in [], which I did not know or use, my setup is similar.I&#039;m trying now to figure out how to pull data at intervals to prevent clients/users from hitting their server directly (mission critical stuff). Your XML back file got my attention there, I just need to figure out how to create mssql-&gt;mysql mappings and learn something about sending the xml to mysql using some kind of field mapping. Great stuff though.</description> <content:encoded><![CDATA[<p>First, David, your the man. All I can say.</p><p>I have been using odbc to mysql for years now. I work on projects in the public sector pulling data from various sources and manipulating it into various formats depending on the client needs. Other than the tablenames in [], which I did not know or use, my setup is similar.</p><p>I&#8217;m trying now to figure out how to pull data at intervals to prevent clients/users from hitting their server directly (mission critical stuff). Your XML back file got my attention there, I just need to figure out how to create mssql-&gt;mysql mappings and learn something about sending the xml to mysql using some kind of field mapping. Great stuff though.</p> ]]></content:encoded> </item> <item><title>By: satish</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-9633</link> <dc:creator>satish</dc:creator> <pubDate>Mon, 08 Jun 2009 14:13:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-9633</guid> <description>cant i connect Microsoft SQL server in PHP application to access data from SQL server ?</description> <content:encoded><![CDATA[<p>cant i connect Microsoft SQL server in PHP application to access data from SQL server ?</p> ]]></content:encoded> </item> <item><title>By: Donald Spears</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-8300</link> <dc:creator>Donald Spears</dc:creator> <pubDate>Wed, 18 Mar 2009 22:30:06 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-8300</guid> <description>Hey, thanks for this...I&#039;ve been trying to get a connection to a remote machine going for two days and every mssql function was crapping out on me and all attempts at fixing turned up nothing. </description> <content:encoded><![CDATA[<p>Hey, thanks for this&#8230;I&#8217;ve been trying to get a connection to a remote machine going for two days and every mssql function was crapping out on me and all attempts at fixing turned up nothing.</p> ]]></content:encoded> </item> <item><title>By: okmi</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-4211</link> <dc:creator>okmi</dc:creator> <pubDate>Mon, 15 Dec 2008 20:17:07 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-4211</guid> <description>we are trying to connect to a remote mssql database using php that runs on a completely separate linux box. looking at phpinfo(), it looks as though ODBC is listed as supported under dbx. the problem is that every time i try odbc&#095;connect(), it says it is an undefined function. does anyone know how i would go about getting it to work in php?</description> <content:encoded><![CDATA[<p>we are trying to connect to a remote mssql database using php that runs on a completely separate linux box. looking at phpinfo(), it looks as though ODBC is listed as supported under dbx. the problem is that every time i try odbc&#95;connect(), it says it is an undefined function. does anyone know how i would go about getting it to work in php?</p> ]]></content:encoded> </item> <item><title>By: SneakyWho_am_i</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-4183</link> <dc:creator>SneakyWho_am_i</dc:creator> <pubDate>Fri, 12 Dec 2008 23:52:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-4183</guid> <description>ADOdb, ODBC...... The Zend Framework has a nice database abstraction layer in pure php (requires PHP5 but if you&#039;re starting PHP4 projects now then something is wrong with you) - it can talk to PDO and a bunch of other extensions, I assume that it can abstract away MSSQL.Maybe, maybe not... Probably not helpful but worth looking at (and E&#095;STRICT compliant).OH! And, it&#039;s loosely coupled with the rest of the &quot;framework&quot; - you can use it by itself and don&#039;t need to touch the other stuff - a bit like a normal library such as PEAR.</description> <content:encoded><![CDATA[<p>ADOdb, ODBC&#8230;&#8230; The Zend Framework has a nice database abstraction layer in pure php (requires PHP5 but if you&#8217;re starting PHP4 projects now then something is wrong with you) &#8211; it can talk to PDO and a bunch of other extensions, I assume that it can abstract away MSSQL.</p><p>Maybe, maybe not&#8230; Probably not helpful but worth looking at (and E&#95;STRICT compliant).</p><p>OH! And, it&#8217;s loosely coupled with the rest of the &#8220;framework&#8221; &#8211; you can use it by itself and don&#8217;t need to touch the other stuff &#8211; a bit like a normal library such as PEAR.</p> ]]></content:encoded> </item> <item><title>By: mwangi sk</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-3807</link> <dc:creator>mwangi sk</dc:creator> <pubDate>Mon, 17 Nov 2008 06:10:58 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-3807</guid> <description>You made my day!Actually you more than made my day - it is just the problem I needed to kickstart me with php on IIS!</description> <content:encoded><![CDATA[<p>You made my day!</p><p>Actually you more than made my day &#8211; it is just the problem I needed to kickstart me with php on IIS!</p> ]]></content:encoded> </item> <item><title>By: Alex</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-3037</link> <dc:creator>Alex</dc:creator> <pubDate>Sun, 14 Sep 2008 15:37:26 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-3037</guid> <description>If somebody is familiar with ADOdb he can use php almost with any database. This is why we are encouraged at school doing this. It&#039;s pretty simple and easier to handle than the original mysql :)</description> <content:encoded><![CDATA[<p>If somebody is familiar with ADOdb he can use php almost with any database. This is why we are encouraged at school doing this. It&#8217;s pretty simple and easier to handle than the original mysql :)</p> ]]></content:encoded> </item> <item><title>By: Jay</title><link>http://davidwalsh.name/php-microsoft-sql-server-mssql-iis-connect-query-odbc#comment-2646</link> <dc:creator>Jay</dc:creator> <pubDate>Thu, 07 Aug 2008 21:11:43 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=288#comment-2646</guid> <description>Listen up close yo. You really need to have a plan for timeouts bc those connections time out like a mug. I learned the hard way. The reason I say that is that there is prob a 100% chance that this is a remote connection unless your php is executing on a windows box and it is on the same server. Usually your php runs on apache and the sql server db is on another box, and so thus the timeouts.For apps that make a lot of database hits where constant timing out can be a pain you might consider running a job that dumps it to a mysql database, I&#039;ve done that alot. If you just have some widget that makes a query, you might could get away with caching, but you always need to handle timeouts.I really prefer web services over direct db connections if its say a third party or a database and infrastructure that&#039;s completely separate from your own but sometimes you don&#039;t always have that option and web service calls time out too.Anyways hope that helps.</description> <content:encoded><![CDATA[<p>Listen up close yo. You really need to have a plan for timeouts bc those connections time out like a mug. I learned the hard way. The reason I say that is that there is prob a 100% chance that this is a remote connection unless your php is executing on a windows box and it is on the same server. Usually your php runs on apache and the sql server db is on another box, and so thus the timeouts.</p><p>For apps that make a lot of database hits where constant timing out can be a pain you might consider running a job that dumps it to a mysql database, I&#8217;ve done that alot. If you just have some widget that makes a query, you might could get away with caching, but you always need to handle timeouts.</p><p>I really prefer web services over direct db connections if its say a third party or a database and infrastructure that&#8217;s completely separate from your own but sometimes you don&#8217;t always have that option and web service calls time out too.</p><p>Anyways hope that helps.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.008 seconds using disk: basic
Object Caching 805/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 16:36:18 -->
