sql2000导出到excel2007遇到的问题
INSERT INTO OPENDATASOURCE('Microsoft.ACE.OLEDB.12.0', 'Extended Properties=Excel 8.0;Data source=c:\2.xlsx')...[Sheet1$] (编号) select 编号 from CLEXPORT运行这个 提示如下错误:服务器: 消息 7343,级别 16,状态 2,行 1OLE DB 提供程序 'Microsoft.ACE.OLEDB.12.0' 未能 INSERT INTO 表 '[Microsoft.ACE.OLEDB.12.0]'。未知的提供程序错误。[OLE/DB provider returned message: 书签无效。]insert into OpenRowSet('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0 Xml;HDR=Yes;Database=C:\2.xlsx', 'select 编号 from [Sheet1$]')select 编号 from CLEXPORT