Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: create view (Newbie question)

Re: create view (Newbie question)

From: Joachim Carlsson <joachim.carlsson_at_neurope.ikea.com>
Date: Tue, 12 Jan 1999 10:45:32 +0100
Message-ID: <77f5sv$1nm$1@mailgate.ikea.com>


Hmm seems like you have created the table incorrectly.

but anyway you can allways substring the field.

select substr(way_to_large_column,1,1) from table;

Regards
/Joachim
John Alden wrote in message <77dkt3$f1$1_at_linux2.inet.maherterminals.com>...
>When creating a view, I am using function to return a value for a column.
>My problem is as follows:
> How do I override the default column size with a specific size?
> Ex. The function returns varchar2.
> When performing a describe on the view the default column size
is
>varchar2(4000).
> ouch
> what I would like is varchar2(1)
>
>Thanks in advance....
>
>
Received on Tue Jan 12 1999 - 03:45:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US