I am trying to code to pull the most updated address for our members in a member address table, which consist of over 2 million records. Each member will have multiple records in this table. I need the most updated address. The fields available are of course street, city, state, zip but there is also a field called addr_type_indic with data such as R for residential, M for mailing, there is a B and O but I don't know what they are for. There is also a date/time stamp field called Time_stamp. How would I code to pull the max of the Addr_type_indic field and group by the 01 member (mem_no field) (or the main member identification number).
I was told to use the max statement but don't know if I would use this in my field selection or the where clause.
Please Help!!!!
I was told to use the max statement but don't know if I would use this in my field selection or the where clause.
Please Help!!!!