Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-26597

admin/replace.php fails under MSSQL

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.1
    • None
    • Database SQL/XMLDB
    • None
    • Microsoft SQL
    • MOODLE_20_STABLE

    Description

      Running /admin/replace.php when moodle is using MSSQL results in

      Message: [Microsoft][SQL Server Native Client 10.0][SQL Server]Argument data type ntext is invalid for argument 1 of replace function.<br>

      adminlib - db_replace uses REPLACE function, which doesn't work on ntext in MS-SQL.

      related to MDL-11270 (replacing ntext in MSSQL)

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              eclectics Gregor McNish
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: