Hi, I have 2 files as below
File1
id:segment:region
GB1:TEST:GB
GB2:TEST:EU
GB3:ABX:AU
File2
id:segment:region
GB1:ABX:AU
GB2:TEST:EU
GB3:ABX:AU
I want to compare these 2 files and return the ids(the whole recor) where there is a change in segments.
Initially i had a solution for that by importing to 2 tables and making a join on both the tables as below.
Select tb1.* from tb1,tb2
inner join tb1.id=tb2.id
where tb1.segment<>tb2.segment
Unfortunately the server I am using dont have MSSQL installed and I cant do a dtsrun utility and hence thought of using a perl script to compare these 2 files to get the desired output. Could pls help me how i can do this.
Regards
Naveen.
Start Free Trial