M
Michael Bartels
Hi everyone,
Can someone help me with this...
I have 2 tables and am trying to build a query that will
return the duplicate records. The criteria is for both
records to have the same Address, City, State, ZIP.
City, State, and ZIP are OK, the problem is in my address
field: the format is not homogeneous (10 Main, 10 Main
St., 10 Main Street). In other words the address is not
EXACTLY the same in both tables even though it IS the
same.
SELECT [Table1].Address, [Table1].City, [Table1].State,
[Tabel1].ZIP
FROM [Table1] INNER JOIN Table ON
([Table1].Address=Table2.Address) AND
([Table1].City=Table2.City);
Any ideas on how to modify this? Ideally I would like for
the St, St., Street, etc. to be ignored all toghether in
the Query, or for #, name of street, and "street" to be
in three separate fields.
Any insight at all would be awesome!!!
Thanks
Can someone help me with this...
I have 2 tables and am trying to build a query that will
return the duplicate records. The criteria is for both
records to have the same Address, City, State, ZIP.
City, State, and ZIP are OK, the problem is in my address
field: the format is not homogeneous (10 Main, 10 Main
St., 10 Main Street). In other words the address is not
EXACTLY the same in both tables even though it IS the
same.
SELECT [Table1].Address, [Table1].City, [Table1].State,
[Tabel1].ZIP
FROM [Table1] INNER JOIN Table ON
([Table1].Address=Table2.Address) AND
([Table1].City=Table2.City);
Any ideas on how to modify this? Ideally I would like for
the St, St., Street, etc. to be ignored all toghether in
the Query, or for #, name of street, and "street" to be
in three separate fields.
Any insight at all would be awesome!!!
Thanks