Respected Coders,I have the following INSERT statement:INSERT INTO dbo.attendence_date (course_code, attendence_time, attendence_date)SELECT i.monday as D_day, i.routine_time, rd.routine_date_fromFROM dbo.routine_date rd INNER JOIN dbo.routine_details i ON rd.routine_ID = i.routine_IDwhere i.monday != 'Free'
Whenever I am firing the following INSERT statement, new data as well as the old data is again being inserted in the attendence_date table.Can you tell me, how to avoid inserting duplicate data in the attendence_date by firing the following INSERT STATEMENT!Please am in great need..PLEASE HELP!! Daipayan