Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Object type
Your CHAR datatype in the object could be the problem. They are only still
around for backwards compatibility with PL/SQL v1. Try changing it to a
VARCHAR2(2).
HTH
Lyall Barbour
------Original Message------
From: Sandeep Dubey <sandeep.dubey_at_induscorp.com>
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Sent: May 22, 2000 8:34:39 PM GMT
Subject: Object type
Hi All,
I created an object type and did as in following steps.
CREATE TYPE Address_tp AS OBJECT (
Street VARCHAR2(200), City VARCHAR2(200), State CHAR(2), Zip VARCHAR2(20)
Last select statement gives invalid column error. What is wrong? I am using 8.1.5 and Sqlplus 8.0.5.
Help me
Thanks
Sandeep
-- Author: Sandeep Dubey INET: sandeep.dubey_at_induscorp.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). ______________________________________________ FREE Personalized Email at Mail.comReceived on Mon May 22 2000 - 23:52:04 CDT
![]() |
![]() |