DROP SHARDING KEY GENERATOR
语法用于删除指定逻辑库的指定分片主键生成器
DropShardingKeyGenerator ::=
'DROP' 'SHARDING' 'KEY' 'GENERATOR' keyGeneratorName ('FROM' databaseName)?
keyGeneratorName ::=
identifier
databaseName ::=
identifier
databaseName
时,默认是当前使用的 DATABASE
。 如果也未使用 DATABASE
则会提示 No database selected
。DROP SHARDING KEY GENERATOR t_order_snowflake FROM test1;
DROP SHARDING KEY GENERATOR t_order_snowflake;
DROP
、SHARDING
、KEY
、GENERATOR
、FROM