在另一个具有相同关键字索引的表中关联更新

来源:互联网 发布:小米数据迁移 编辑:程序博客网 时间:2024/05/29 16:45

select a

 

use tab1

 

index on key to indexfilename1

 

select b

 

use tab2

 

index on key to indexfilename2

 

set relation to key into tab1 in tab2

 

replace fieldname with tab1.fieldname in tab2 for found("tab1")

原创粉丝点击