Browse Source
Using multiple table as x in the first section of an UPDATE is specific to mysql "UPDATE {attendance_statuses} AS sta,{attforblock} AS att SET sta.attendanceid=att.id WHERE att.course=sta.courseid"; is now "UPDATE {attendance_statuses} SET attendanceid={attforblock}.id FROM {attforblock} WHERE {attforblock}.course=courseid";MOODLE_23_STABLE
Erik Ordway
13 years ago
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue