I have table which has two cols in it like below:
create table test (col1 number(20), col2 number(20));
Table created.
Now, I have a situation where I need to create a view on this
table with three columns and third column is sum of first and second
columns.
create view test_view (col1, col2, col3) as select col1, col2, col1+col2
from test;
View created.
check this out when I describe the view :
desc test_view
Name Null? Type
-----------------------------------------------------------------------------------------------------
--------
--------------------------------------------------------------------
COL1 NUMBER(20)
COL2 NUMBER(20)
COL3 NUMBER
The Length of third column is missing , could anybody throw some light
on this issue ..
Please advice me how the handle this problem ....
Veera
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Veera Prasad
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).