如何从xml文件读取文本文件和测试文件数据使用ssis存储在数据库中 [英] How to read text file from xml file and test file data is stored in database using ssis

查看:112
本文介绍了如何从xml文件读取文本文件和测试文件数据使用ssis存储在数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一些xml文件,比如

Hi,

I have some xml file like

<xml>
<file-location directory="c:\temp" foldername="core.txt"></file-location>
<file-location directory="c:\temp" foldername="menu.csv"></file-location>
<database username="xxx" password="ccccc"></database>
</xml>





我有这种格式的xml文件,它也包含文件名和数据库登录详细信息。我的问题是使用ssis提取xml文件到中间的sql操作我正在读取所需位置的文本或csv文件读取数据并存储到数据库中。我如何阅读这些文本文件并存储到数据库中。这个总数是在sml的xml到sql操作的中间完成的。任何人都可以帮助我,对我来说非常紧迫



I have xml file in this format like it contains file names and database login details also.My question is am extracting xml file using ssis to sql operation in the middle i am reading the text or csv files in that required location and read the data and stored into database. How can i read these text files and stored into database. this total was done in the middle of xml to sql operation in ssis. Can any one help me please,its very urgent for me

推荐答案

这篇关于如何从xml文件读取文本文件和测试文件数据使用ssis存储在数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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