sql-server-2008 – 链接服务器“(null)”的OLE DB提供程序“Mic
发布时间:2021-03-11 11:03:53 所属栏目:MsSql教程 来源:网络整理
导读:我想从Excel导出MSSQL SERVER 2008中的数据,但我有错误 OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "Bookmark is invalid.".Msg 7343,Level 16,State 2,Line 1The OLE DB provider "Microsoft.ACE.OLEDB.12.0"
|
我想从Excel导出MSSQL SERVER 2008中的数据,但我有错误 OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "Bookmark is invalid.". Msg 7343,Level 16,State 2,Line 1 The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" could not INSERT INTO table "[Microsoft.ACE.OLEDB.12.0]". 它是我的excel文件导出(文件保存格式97-2003) 我的查询 告诉我,为什么我会收到错误?我需要做什么? 解决方法尝试这个INSERT INTO OPENROWSET('Microsoft.ACE.OLEDB.12.0','Excel 8.0;Database=C:Export.xls;','SELECT id_sale FROM [ExportSheet$]')
SELECT id_sale
FROM dbo.Sale
要么 INSERT INTO OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0','Data Source=C:Export.xls;Extended Properties=EXCEL 8.0')...[ExportSheet$]
SELECT id_sale
FROM dbo.Sale (编辑:清远站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
站长推荐
热点阅读

