I am looking to build a query on a number of fields in a amster table based on the "mailing codes" stored in another table.
I want to pull off a list of customers in a master table (122,000) that do not have any of the codes listed in the mailing codes table. What would be the best way to accomplish thi. the tables are not related, the master table is a unix import, fields all over the place and tha mailing codes a straight list of 302 codes.
Hope someone can help. i presume this is a straigthforward query but my mind has gone blank the sql query i was writing became humongous!!!
I want to pull off a list of customers in a master table (122,000) that do not have any of the codes listed in the mailing codes table. What would be the best way to accomplish thi. the tables are not related, the master table is a unix import, fields all over the place and tha mailing codes a straight list of 302 codes.
Hope someone can help. i presume this is a straigthforward query but my mind has gone blank the sql query i was writing became humongous!!!