文本文件到SQL Server [英] Textfile to SQL server

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

问题描述

如何将带有逗号分隔符的文本文件存储到数据库Sql Server 2008中?

How can i store a textfile with comma separator in to database Sql server 2008

推荐答案

任何方式.您有一个文本文件,可以读取它,也可以使用字符串类的split方法对其进行拆分,以将数据分隔在逗号上,如果需要,完全取决于您要执行的操作.
Any way you like. You have a text file, you can read it, you can split it with the split method of the string class to get the data seperated on the comma, if you want, it''s entirely up to you what you want to do.


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

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