sql - Script to merge four access tables -


i attempting write script access add records not exist 1 table next, keep track of records not merged, , preserves relationships between second table i'll updating. unable figure out how to, using vba or sql, insert data source table destination table doesn't exist in destination table. can suggest way me copy on data table a table b, when 2 of rows fields don't exist in table b? ex. have table a 4 rows , table b 4 rows. wish copy on data table a value of fields x , y don't exist in of table b's x , y fields. thank in advance.

insert tableb (columns) select [values] tablea left outer join tableb b on (a.x = b.x , a.y = b.y) b.x null 

the outer join include entries there's no value table b, , filters on these rows


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -