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

admin/replace.php fails under MSSQL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Database:
      Microsoft SQL
    • Affected Branches:
      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

              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: