Skip to content

insert syntax error no values in sql #2672

Answered by ylinzhu
muyl asked this question in Q&A
Discussion options

You must be logged in to vote

Support partial statement .
For example

        <shardingTable name="test10" shardingNode="dn2,dn3,dn4" function="hash-three" shardingColumn="id"/>
        <shardingTable name="test11" shardingNode="dn2,dn3,dn4" function="hash-three" shardingColumn="id"/>
        <shardingTable name="test12" shardingNode="dn3,dn4" function="hash-two" shardingColumn="id"/>
        <singleTable name="test20" shardingNode="dn2" />
        <singleTable name="test22" shardingNode="dn1" />
        <globalTable name="test30" shardingNode="dn1,dn2,dn3,dn4" />
        <globalTable name="test31" shardingNode="dn1,dn2,dn3,dn4" />

support

  • table of the same type with the same nodes,insert into test10(id,name) select…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yanhuqing666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2671 on May 19, 2021 10:53.