Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: Database reserved words.

Database reserved words

From MoodleDocs

It would be really helpful to have a list here. In the meantime, here are some links:

Even better: SQL Reserved Words Checker.

It would be really good if the new XMLdb functions checked column and table names against these lists and refused to created things with reserved words as names.

Or alternatively, if they guaranteed to escape all SQL so it did not matter if we used reserved words.