简体   繁体   English

将数据从SQL Server导入和导出到Excel

[英]Import and Export data from SQL Server to Excel

I want to ask if there's a way to make the import and export tasks from SQL Server to Excel occur whatever the version of Office installed. 我想问问是否有一种方法可以使从SQL Server到Excel的导入和导出任务发生在任何安装的Office版本上。 I made a software and want to install it on client's PC so I don't want to change the connection string every time I find any version of Office.. I want the software to import and export from Excel 2007, 2010 or 2013 我制作了一个软件,并希望将其安装在客户端的PC上,因此,我不想在每次找到任何版本的Office时都更改连接字符串。我希望该软件从Excel 2007、2010或2013导入和导出

Import and Export wizard from my SQL server 从我的SQL Server导入和导出向导

The image uploaded shows that SQL Server 2008 only supports Excel 2007, what do I do if SQL Server 2008 is installed on client PC which has Office 2013 installed?! 上传的图像显示SQL Server 2008仅支持Excel 2007,如果在装有Office 2013的客户端PC上安装SQL Server 2008,该怎么办?

Office 2007 and 2007+ share the same data configuration setting you can use import and export on 2013 as well. Office 2007和2007+共享相同的数据配置设置,您也可以在2013上使用导入和导出。 If it is not working you may need to install the Runtime drivers. 如果无法正常工作,则可能需要安装运行时驱动程序。 Please follow the link for your reference: Data Source (SQL Server Import and Export Wizard) 请单击链接以供参考: 数据源(SQL Server导入和导出向导)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM