Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to extract state and zip_code in USA country from address column in oracle 19c database

LRKMay 2 2024 — edited May 2 2024

Hi Guys,

Very good morning!

I need help on writing query to extract the “state” and “zip_code” from address column in Oracle 19c database.

NOTE: If zip code is not present against state/region, I want to hardcode actual zip_code of the respective state and display.

can some one write a query or advice me possible ways to get the zip codes against each state/region across USA.

Thanks in advance!

Regards,

LRK

Comments
Post Details
Added on May 2 2024
3 comments
1,486 views