怎么将EXCEL中的数据导入到ACCESS中?导入显示该属性在外部数据源或低版本的microsoft jet所创建的数据。 5
2个回答
展开全部
将excel导入access,一句sql搞定
select * from [Sheet1$] IN "d:\tmpExcel.xls" "EXCEL 8.0;"
在access中,这样就能查找excel的表记录,相同的,你可以将结果导出至新表,如select into,或insert into将结果保存。此法后台直接由access负责执行,其效率你懂的
SELECT field1[, field2[, ...]] INTO newtable [IN externaldatabase]
FROM source
//select * from [sheet1$] into newTable in "d:\tmpExcel.xls" "excel 8.0"
INSERT INTO target [(field1[, field2[, ...]])]
VALUES (value1[, value2[, ...])
//insert into newTable(col1,col2,col3) Select col1,col2,col3) from [sheet1$] in "d:\tmpExcel.xls" "excel 8.0"
select * from [Sheet1$] IN "d:\tmpExcel.xls" "EXCEL 8.0;"
在access中,这样就能查找excel的表记录,相同的,你可以将结果导出至新表,如select into,或insert into将结果保存。此法后台直接由access负责执行,其效率你懂的
SELECT field1[, field2[, ...]] INTO newtable [IN externaldatabase]
FROM source
//select * from [sheet1$] into newTable in "d:\tmpExcel.xls" "excel 8.0"
INSERT INTO target [(field1[, field2[, ...]])]
VALUES (value1[, value2[, ...])
//insert into newTable(col1,col2,col3) Select col1,col2,col3) from [sheet1$] in "d:\tmpExcel.xls" "excel 8.0"
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |