Updated on 2025-06-07 GMT+08:00

U0400052: The reserved keyword is used as an identifier

Description

This error message is displayed only when Notification for using reserved keywords as identifier is set to Raise error, which is used to detect identifiers that use GaussDB reserved keywords.

Database Type and Version

  • Source database type and version: MySQL 5.5, 5.6, 5.7, and 8.0
  • Target database type and version: GaussDB (M-compatible mode)
Syntax Example
CREATE TABLE any (    
any          INT
);

Suggestion

  • Rename the identifier to improve database maintainability.
  • If you do not need to modify such identifiers, you can set Notification for using reserved keywords as identifier. During re-conversion, UGO escapes such identifiers using backticks to ignore this error.