Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data comparison between XML and SQL server

Status
Not open for further replies.

rajeshbijlani

Technical User
Sep 14, 2005
1
US
I want to make sure that the data from the XML file is loaded successfully in SQL server database.

So I have to do the following:
1> Extract data from the XML file and put in a csv file.
2> Execute a query on sql server2000 datadabe and output the results in a csv file.
3>Compare the data from the 2 files and validate that the data matches.

I want to create a batch file to do that.
Can I use awk/sed scripting for doing that? If yes does anybody have a ready script that I can use? If not can anyone guide me on how I can achieve that?
 
If the batch file should run in a windows environment I'd play with Recordset in VBScript.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top