ashishsmith
Programmer
I have 2 tables february and march, both of them have 11 fields and there is no primary key (no unique key).
Data from both the tables have to be in 1 table. There is one condition to fulfill, if fixed 4 fields which has the same data in both the tables than overwrite the data from february with march data else add the records.
What I am trying to do is update February table with March data and than trying to check on the 4 fields, if they have same data than delete the field from february and continue adding the data from march table.
This is not working, whenever I compare or run a select query in the update query it asks for a parameter.
I don't know what to do. I hope some genius in sql helps me.
Thank you,
Ashish Smith
Data from both the tables have to be in 1 table. There is one condition to fulfill, if fixed 4 fields which has the same data in both the tables than overwrite the data from february with march data else add the records.
What I am trying to do is update February table with March data and than trying to check on the 4 fields, if they have same data than delete the field from february and continue adding the data from march table.
This is not working, whenever I compare or run a select query in the update query it asks for a parameter.
I don't know what to do. I hope some genius in sql helps me.
Thank you,
Ashish Smith