Could anyone tell me how to check the duplicate entry or even add only the distinct entry into the database through the bulk insert. I want to do the bulk insert , it first should check the duplicate data in the file and then only one data of duplicate (distinct) data should be added into the database through the bulk insert.
I have one file which consists of only one coloumn (phone_no) entry and i want to bulk insert into the database and for this also, if there is already the number is there in the database then it should not be added into the database. So, THERE IS ONLY TWO CONDITION IS TO CHECK, FIRST CHECK THE DISTINCT PHONE NUMBER DURING THE BULK INSERT AND SECOND CHECK SHOULD BE EXISTING TABLE , IF IT CONSISTS OF SAME PHONE NUMBER WHICH IS THERE IN THE FILE THEN SHOULD NOT BE ADDED INTO THE DATABASE.
so please help me out in this regard. or even give any kind of hint for this....
in advance thanks ....