ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:microsoft_sql_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
v5:database:microsoft_sql_server [2018/07/08 01:24] mnewnhamv5:database:microsoft_sql_server [2019/12/29 20:21] – [SQL Server 2003] mnewnham
Line 2: Line 2:
 ~~NOTOC~~ ~~NOTOC~~
 ===== Description ===== ===== Description =====
-There are 2 supported drivers that allow connections to Microsoft SQL Server databases. +There are 2 supported drivers that allow connections to Microsoft SQL Server databases from SQL Server 2005 upwards
 ==== mssqlnative ==== ==== mssqlnative ====
 This driver, which runs on both Windows and Linux clients, allows connections to Microsoft SQL Server databases versions 2008 and up, and uses the Microsoft Native Client libraries. This driver is recommended for Windows Clients running PHP 5.3 and higher, and Linux Clients running PHP 7.0 and higher, and provides the fastest PHP connection. This driver, which runs on both Windows and Linux clients, allows connections to Microsoft SQL Server databases versions 2008 and up, and uses the Microsoft Native Client libraries. This driver is recommended for Windows Clients running PHP 5.3 and higher, and Linux Clients running PHP 7.0 and higher, and provides the fastest PHP connection.
Line 12: Line 12:
  
 More about the FreeTDS libraries [[http://www.freetds.org/|here]] More about the FreeTDS libraries [[http://www.freetds.org/|here]]
-==== SQL Server 2003 ==== +
-Connecting to SQL server 2003 creates a difficulty There is no support for native client connections, and the alternative method, using php_mssql.dll was removed in PHP 5.3. The only alternative is to use a generic ODBC driver that does not require the Microsoft Native Client libraries. +
-------------------------------------+
 ====== mssqlnative ====== ====== mssqlnative ======
 <WRAP right box round 300px> <WRAP right box round 300px>
v5/database/microsoft_sql_server.txt · Last modified: 2022/11/15 02:13 by mnewnham