我有一个使用DBF文件的应用程序,需要将它们导入SQL Server2008。但是,我还需要在此过程中修改一些数据,并且某些列将添加到表中,而另一些列将被弃用。
到目前为止,我正在使用DBF-> Access-> MS Migration Assistant-> SQL Server2008。但是我认为必须有一种更好的方法来处理它。我想摆脱迁移助手,因为它不允许您在导入数据时修改数据。
最佳答案
看来您不走运:-(
请参阅此注释:
Note: In SQL Server 2005, the SQL Server Import and Export Wizard does not support importing from or exporting to dBASE or other DBF files. To import DBF files, first use Microsoft Access or Microsoft Excel to import the data from DBF files into an Access database or Excel spreadsheets. Then, use the SQL Server Import and Export Wizard to import the Access database or Excel spreadsheets that contain the data from the DBF files.
Microsoft SQL Server 2005联机丛书Choose a Data Source(导入和导出向导)
但是,也许这另一个Stackoverflow问题可能会有帮助??
How to import a DBF file in SQL Server
或查看一些商业和/或共享软件工具来完成这项工作
关于sql - 如何从DBF文件转到SQL Server 2008?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3119868/