sql-server-2008 – 链接服务器“(null)”的OLE DB提供程序“Mic
发布时间:2021-03-12 07:14:29 所属栏目: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 (编辑:ASP站长) 【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。 |
相关内容
未处理完善
-
无相关信息
最新更新