如何将数据从csv文件插入到SQL Server中的临时表 [英] how to insert the data from csv file to the temp table in sql server

查看:65
本文介绍了如何将数据从csv文件插入到SQL Server中的临时表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hiiiiiiiiii .....
我的要求是将存档数据存储在csv文件中.我想从csv文件中检索数据并将其存储在temp表中以处理存档数据. /> 预先感谢您........

raja g

hiiiiiiiiii.....
i have a requirement such that,archieved data is stored in csv files.i want to retrieve the data from csv files and store it in temp table for processing the archieved data..how it is possible if there is any solution plzzzzzzhelp me
thanking you in advance.................
by
raja g

推荐答案

有两种方法可以将CSV文件数据导入到SQL Server表中.您可以使用Bulk Insert查询,也可以使用SQL Server的Import/Export向导.

1. 使用导入/导出向导导入 [ ^ ]

希望这会有所帮助.
一切顺利.
There are two ways to import the CSV file data into the SQL server table. You can use the Bulk Insert query or you can use the Import/Export wizard of SQL server.

1. Import Using Bulk Insert[^]
2. Import using Import/Export Wizard[^]

Hope this helps.
All the best.


这是解决方案,
希望对您有所帮助.

处理csv文件 [
Here is the solution,
Hope this may help you.

processing a csv file[^]


这篇关于如何将数据从csv文件插入到SQL Server中的临时表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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