从Excel中导出SQL Server数据 [英] SQL Server data export from excel

查看:126
本文介绍了从Excel中导出SQL Server数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想使用OPENDATASOURCE从excel文件中读取数据。我收到了以下错误。



OLE DB提供程序 Microsoft.ACE.OLEDB.12.0for linked server(null)返回消息外部表格不是预期的格式。。



谢谢,

Hi,
I want to read data from excel file using OPENDATASOURCE.I got an following error.

OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "External table is not in the expected format.".

Thanks,

推荐答案

您好,



查看以下示例链接...

< a href =http://www.mssqltips.com/sqlservertip/1202/export-data-from-sql-server-to-excel/>将数据从SQL Server导出到Excel [ ^ ]

导出到Excel [ ^ ]

将数据导入SQL Server的不同选项 [ ^ ]

SQL Server使用bcp或sqlcmd实用程序和CSV文件导出到Excel [ ^ ]

问候,

GVPrabu
Hi,

Check the following sample Link...
Export data from SQL Server to Excel[^]
Export to Excel[^]
Different Options for Importing Data into SQL Server[^]
SQL Server Export to Excel using bcp or sqlcmd Utilities and CSV Files[^]
Regards,
GVPrabu


这篇关于从Excel中导出SQL Server数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆