如何隐蔽制表符分隔的文件,CSV文件 [英] How to covert tab separated file to CSV file

查看:207
本文介绍了如何隐蔽制表符分隔的文件,CSV文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个制表符分隔文本文件,大约是1.2 GB,我需要将其转换成CSV文件(逗号分隔)使用C#。
我必须插入一个大容量的数据到SQLSERVER,数据在txt文件,这是制表符分隔,但我想它转换成CSV,然后再插入到SQL Server或有插入制表符分隔数据到任何合适的方式sql server数据库有效。

I have a tab separated text file which is about 1.2 GB , i need to convert it into CSV file(Comma Separated) using c#. I have to insert a bulk data into sqlserver, the data is in txt file, which is tab separated, but i want it to convert into CSV first and then insert into sql server or is there any suitable way to insert the tab separated data into sql server database efficiently.

推荐答案

导入制表符分隔的文件到Excel(或者是另一个s preadsheet程序),然后将其导出为CSV。

Import the tab separated file into Excel (or another spreadsheet program) then export it as CSV.

这篇关于如何隐蔽制表符分隔的文件,CSV文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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