OK....anyone know why a column that exists in a table as shown by a describe would not appear in a select?
Notice the "NAME" column in the describe magically dissappears from the select output....
ORA8> desc lr_agency;
Name Null? Type
--------------------- -------- ----------------------------
ID NOT NULL NUMBER(8)
NAME NOT NULL VARCHAR2(80)
ADDRESS_ID NOT NULL NUMBER(8)
PHONE NOT NULL VARCHAR2(25)
FAX VARCHAR2(25)
ACCOUNT_EXECUTIVE_ID NOT NULL NUMBER(8)
URL VARCHAR2(255)
STATUS_CODE NOT NULL NUMBER(8)
LAST_MODIFIED NOT NULL DATE
LAST_MODIFIER_ID NOT NULL NUMBER(8)
CREATOR_ID NOT NULL NUMBER(8)
TIMESTAMP NOT NULL DATE
PARENT NUMBER(8)
ORA8> select * from lr_agency where id = 1;
ID ADDRESS_ID PHONE FAX
--------- ---------- ------------------------- -------------------------
ACCOUNT_EXECUTIVE_ID
--------------------
URL
--------------------------------------------------------------------------------
STATUS_CODE LAST_MODI LAST_MODIFIER_ID CREATOR_ID TIMESTAMP PARENT
----------- --------- ---------------- ---------- --------- ---------
1 111 Undefined
111
111 14-AUG-01 111 111 14-AUG-01 111
ORA8>
Notice the "NAME" column in the describe magically dissappears from the select output....
ORA8> desc lr_agency;
Name Null? Type
--------------------- -------- ----------------------------
ID NOT NULL NUMBER(8)
NAME NOT NULL VARCHAR2(80)
ADDRESS_ID NOT NULL NUMBER(8)
PHONE NOT NULL VARCHAR2(25)
FAX VARCHAR2(25)
ACCOUNT_EXECUTIVE_ID NOT NULL NUMBER(8)
URL VARCHAR2(255)
STATUS_CODE NOT NULL NUMBER(8)
LAST_MODIFIED NOT NULL DATE
LAST_MODIFIER_ID NOT NULL NUMBER(8)
CREATOR_ID NOT NULL NUMBER(8)
TIMESTAMP NOT NULL DATE
PARENT NUMBER(8)
ORA8> select * from lr_agency where id = 1;
ID ADDRESS_ID PHONE FAX
--------- ---------- ------------------------- -------------------------
ACCOUNT_EXECUTIVE_ID
--------------------
URL
--------------------------------------------------------------------------------
STATUS_CODE LAST_MODI LAST_MODIFIER_ID CREATOR_ID TIMESTAMP PARENT
----------- --------- ---------------- ---------- --------- ---------
1 111 Undefined
111
111 14-AUG-01 111 111 14-AUG-01 111
ORA8>