Database Release or Database Parameter ?
In the MARS database : 9.2.0.5
for the view fred_01 the asterik (*) gets expanded and stored as a comma-separated list of column names.
but not for the view fred_02 with a.*
SQL> connect system/manager@MARS
Connected to Oracle9i Enterprise Edition Release 9.2.0.5.0
Connected as system
SQL> create or replace view fred_01 as select * from cat;
View created
SQL> create or replace view fred_02 as select a.* from cat a;
View created
SQL> select * from user_views where view_name like 'FRED%';
VIEW_NAME TEXT_LENGTH TEXT
------------------------------ ----------- ------------------------------------------
FRED_01 42 select "TABLE_NAME","TABLE_TYPE" from cat
FRED_02 22 select a.* from cat a
In the VENUS database : 9.2.0.7
fred_03 (*) and fred_04 (a.*) get expanded ... Why ?
SQL> connect system/manager@VENUS
Connected to Oracle9i Enterprise Edition Release 9.2.0.7.0
Connected as system
SQL> create or replace view fred_03 as select * from cat;
View created
SQL> create or replace view fred_04 as select a.* from cat a;
View created
SQL> select * from user_views where view_name like 'FRED%';
VIEW_NAME TEXT_LENGTH TEXT
------------------------------ ----------- -------------------------------------------------
FRED_03 42 select "TABLE_NAME","TABLE_TYPE" from cat
FRED_04 48 select a."TABLE_NAME",a."TABLE_TYPE" from cat a