SET SHARDING HINT DATABASE_VALUE
语法用于针对当前连接,设置 hint 仅对数据库分片有效,并添加分片值
SetShardingHintDatabaseValue ::=
'SET' 'SHARDING' 'HINT' 'DATABASE_VALUE' '=' databaseShardingValue
databaseShardingValue ::=
int
SET SHARDING HINT DATABASE_VALUE = 100;
SET
、SHARDING
、HINT
、DATABASE_VALUE