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: How to use UPPER in a view ??? (Scalar Character Functions)

Re: How to use UPPER in a view ??? (Scalar Character Functions)

From: Wang Federal <rajagopp_at_wangfed.com>
Date: 1997/03/26
Message-ID: <01bc3a33$5a338440$5f345e9f@laptop1.wangfed.com>#1/1

Hai,
 While creating view, if you have any selected column have convert funcs. such as
Upper,Substr ,you should give a explicit column alias (eg. UPPER(slot_num) slnum). Then you would not have the problem. Some installations depending upon the versions it might work without any column alias but Oracle says ,now that is an undocumented feature. So better to have a colum alias whenever you have convert
funct. on the selected columns. Hope that it helps you...

Perry.

Jens U. Veigel <jens_at_deutschware.com> wrote in article <333952eb.93514997_at_news.aud.alcatel.com>...
> Hey SQL Gurus !
>
> The select statement works. When I try to do it in a view like below,
>
> CREATE VIEW stencil_p as
> select UPPER (slot_num), UPPER (apn_pb_num), UPPER
Received on Wed Mar 26 1997 - 00:00:00 CST

Original text of this message

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