Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 402 and 403]

   1  <?php
   2  /**
   3   * Microsoft SQL Server 2012 driver via ODBC
   4   *
   5   * This file is part of ADOdb, a Database Abstraction Layer library for PHP.
   6   *
   7   * @package ADOdb
   8   * @link https://adodb.org Project's web site and documentation
   9   * @link https://github.com/ADOdb/ADOdb Source code and issue tracker
  10   *
  11   * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause
  12   * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option,
  13   * any later version. This means you can use it in proprietary products.
  14   * See the LICENSE.md file distributed with this source code for details.
  15   * @license BSD-3-Clause
  16   * @license LGPL-2.1-or-later
  17   *
  18   * @copyright 2000-2013 John Lim
  19   * @copyright 2014 Damien Regad, Mark Newnham and the ADOdb community
  20   */
  21  
  22  if (!defined('ADODB_DIR')) 
  23  	 die();
  24  
  25  include_once(ADODB_DIR."/drivers/adodb-odbc_mssql.inc.php");
  26  
  27  class  ADODB_odbc_mssql2012 extends ADODB_odbc_mssql
  28  {
  29  	 /*
  30  	 * Makes behavior similar to prior versions of SQL Server
  31  	 */
  32  	 var $connectStmt = 'SET CONCAT_NULL_YIELDS_NULL ON';
  33  }
  34  
  35  class  ADORecordSet_odbc_mssql2012 extends ADORecordSet_odbc_mssql
  36  {
  37  }