* 获取A表结构描述
USE 表A
COPY STRUCTURE EXTENDED TO tempStructA
* 获取B表结构描述
USE 表B
COPY STRUCTURE EXTENDED TO tempStructB
* 合并结构描述表
use tempStructA
append from tempStructB
REPLACE ALL field_step WITH RECNO()
index on FIELD_NAME tag FIELD_NAME uniq
sort to tempMerge on field_step
use tempMerge
REPLACE ALL field_step WITH 0