Hello
I have two dataset. there are more then 10k rows in both dataset.
Now I have to compare both dataset with multiple keys (Composite key) and find the differ rows based on that.
Means,
Dataset1 have County,State,ID,Address,PostalCode
Dataset2 have County,State,ID,Address,PostalCode
I have to compare with ID,County multiple key and find different and new rows
Can you give idea to do this?
I do not want loop each row which already hang the system
Thanks
Keyur
Loading
keyurPosted Feb 23, 2015, 1:01 AM
But I can not do like this.User import multiple files and i have to do runtime and find rows.
Thanks for help
Joginder BangerPosted Feb 23, 2015, 12:58 AM
http://www.c-sharpcorner.com/UploadFile/5b3fc9/import-the-csv-file-data-in-sql-server-with-the-help-of-ssi/
Make a temporary file import in table .
make a table as per your requirement.
County,State,ID,Address,PostalCode
keyurPosted Feb 23, 2015, 12:50 AM
Dataset1 have County,State,ID,Address,PostalCode
Dataset2 have County,State,ID,Address,PostalCode
I have csv files and load to dataset.
Can you help me ?
Joginder BangerPosted Feb 23, 2015, 12:45 AM
first of all share your table design for better understanding what you try, why are you used dataset for compare data. you can choose join for better performance.
Khargesh RajputPosted Feb 23, 2015, 12:39 AM