i have a csv file from which i have to store data to my table[USERS].
this file is generated daily with some updates to records of user details.
i have done importing part quite well but every time i run this project it INSERTS whole data over again instead of just UPDATE.
say the csv file for day 1 is
1,sushil,sainju,sushil@gmail.com
2,subash,stha,subash@gmail.com
this file is imported to the table quite well but when i run this project after making few updates to the csv file
say
1,sushil,sainju,sushil@gmail.com
2,subash,aaaa,SHAK@hotmail.com
the project will add 2 more records to the table instead of updating the existing records. can anyone pls help me with this?
thanks in advance.:)