moodle/lib/dml/sqlsrv_native_moodle_temptables.php
msketcham 0c57c86713 This is the Native SQL*Server adapter for the SQL Server Driver for PHP version 1.1 released by Microsoft.
Prerequisites for installation and usage: Install SQL Server 2005 or later, and the SQL Server Driver for PHP version 1.1 (http://msdn.microsoft.com/en-us/library/cc296170(v=SQL.90).aspx), and configure the SQL Server installation using SQL Server Management Studio with the following command:
USE MASTER
GO
ALTER DATABASE <your-database-name> SET READ_COMMITTED_SNAPSHOT ON
GO
2010-06-23 22:40:49 +00:00

35 lines
1.3 KiB
PHP

<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* sqlsrv specific temptables store. Needed because temporary tables
* are named diferently than normal tables. Also used to be able to retrieve
* temp table names included in the get_tables() method od the DB.
*
* @package moodlecore
* @subpackage DML
* @copyright 2009 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v2 or later
*/
require_once($CFG->libdir.'/dml/mssql_native_moodle_temptables.php');
/***
* This class is not specific to the SQL Server Native Driver but rather
* to the family of Microsoft SQL Servers
*/
class sqlsrv_native_moodle_temptables extends mssql_native_moodle_temptables {}