Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature] support update/delete shardingTable with join globalTable  #3738

@dcy10000

Description

@dcy10000

https://actiontech.github.io/dble-docs-cn/3.SQL_Syntax/3.2_DML/3.2.04_UPDATE.html
https://actiontech.github.io/dble-docs-cn/3.SQL_Syntax/3.2_DML/3.2.03_DELETE.html

you can use sql like this. as long as the shardingNodes of global2 contains all of the shardingNodes of sharding_2_t2.

update sharding_2_t2 a set name=1 where a.id= (select id from global2 b  where a.id=b.id);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions