aspose file tools*
The moose likes Oracle/OAS and the fly likes How to Get values from defined Data Type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "How to Get values from defined Data Type" Watch "How to Get values from defined Data Type" New topic
Author

How to Get values from defined Data Type

Raajesh Chandran
Ranch Hand

Joined: May 04, 2001
Posts: 103
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


chandran..
Gordon Jenkinson
Greenhorn

Joined: Feb 03, 2002
Posts: 14
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.


Gordon Jenkinson
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to Get values from defined Data Type
 
Similar Threads
need help in JPA ANNOTATION regarding Inheritance.
problem in creating table with FULLTEXT KEY index
db-create-table: [java] SQL Error at line 340: java.sql.SQLException: Table not
msyql jdbc problem.
help with SQL Server