adoquery1.SQL.Text:=' insert into [sp] ([编号],[名称],[价格]) select [编号],[名称],[价格] from opendatasource(''microsoft.jet.oledb4.0'';''datasource='+Opendialog2.FileName+';extended properties=excel 8.0;persist security info=false'')...['+tablename+']where [编号] not in (select [编号] from [sp]) ' ; //这儿应该怎么做呢,说我的语句有问题.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货