合并msaccess表 [英] merge msaccess tables
本文介绍了合并msaccess表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何合并两个msaccess相同的数据库的两个相同的表?例如:
How can i merge two identical tables of two msaccess identical db? For eg:
db1..table1
ID Name
1 Sanjana
2 Parul
3 Rohan
db2...table1
ID Name
1 Sarika
2 Deepak
我想将第二个表的值附加到第一个表中,如下所示:
I want to append the values of second table into first as follows:
ID Name
1 Sanjana
2 Parul
3 Rohan
4 Sarika
5 Deepak
推荐答案
ID字段的数据类型似乎是一个自动编号.这样,您可以执行以下操作:
The datatype for the ID field appears to be an autonumber. As such you can do the following:
INSERT INTO db1...table1
SELECT Name FROM db2...table1
这篇关于合并msaccess表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文