Updated on 2025-10-22 GMT+08:00

U0400058: GaussDB does not support ALTER TABLE ORDER BY

Description

Database Type and Version

  • Source database type and version: MySQL 5.5, 5.6, 5.7, and 8.0
  • Target database type and version: all GaussDB versions

Syntax Example

alter table test_code order by code desc ;

Suggestion

No solution is available. You are advised to refactor application code.