I have a table of addresses which are presented like:
address1, address2, address3, address4
address1, NULL, address3, address4
address1, address2, NULL, address4
address1, NULL, NULL, address4
etc, etc!
I want the data to be extracted like so:
address1, NULL, address3, address4
BECOMES:
address1, ADDRESS2, address3, NULL
----
address1, NULL, NULL, address4
BECOMES:
address1, ADDRESS2, NULL, NULL
etc, etc
Note: each address is its own column not a string.
Another Note: I could do this with a case statement, however this will become very ugly, very quickly.
/Nice
address1, address2, address3, address4
address1, NULL, address3, address4
address1, address2, NULL, address4
address1, NULL, NULL, address4
etc, etc!
I want the data to be extracted like so:
address1, NULL, address3, address4
BECOMES:
address1, ADDRESS2, address3, NULL
----
address1, NULL, NULL, address4
BECOMES:
address1, ADDRESS2, NULL, NULL
etc, etc
Note: each address is its own column not a string.
Another Note: I could do this with a case statement, however this will become very ugly, very quickly.
/Nice