How to Get values from defined Data Type

Hi! I created address_ty type for address.In that I used street1(varchar),street2(varchar),city(varchar),state(varchar),pincode(number).Particularly I want to get the city. I used the Query like select address.city from <Table Name>.But it is giving invalid column name error Am using Oracle*i in windows NT.I don't what's wrong in this. Thankx in advance Raajesh

Post the code or a more detailed example. It's not clear what you are trying to do. A type does not contain data unless you fetch into it. You will only get an invalid column name error if you have an invalid column name error if the column name does not exist in a table.