i have load two data files into a mysql table.now i want the compare the data from these two files (i.e want to compare a particular column of the table and want to get the difference between the values from these two files).
i dont know how to do this.can anyone help me out with this?
jagpreet 0 Newbie Poster
Recommended Answers
Jump to Postrs.open "SELECT C2 FROM Table_Name"
C2R1 = rs("C2")
rs.MoveNext
C2R2 = rs("C2")
compare C2R1 and C2R2
Hope this helps.
Jump to PostI can suggest two methods that may work for you.
1. do some vbscripting to extract the required columns from both text files and save it as two files say file1.txt and file2.txt
Now run the 'diff' command to get the difference.2. Create one more column in …
All 8 Replies
hopalongcassidy 35 Junior Poster
jagpreet 0 Newbie Poster
yello 3 Light Poster
hopalongcassidy 35 Junior Poster
jagpreet 0 Newbie Poster
hopalongcassidy 35 Junior Poster
yello 3 Light Poster
jagpreet 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.