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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: escape column name

RE: escape column name

From: <Stephen.Lee_at_DTAG.Com>
Date: Thu, 15 Apr 2004 09:02:03 -0500
Message-ID: <D6339830FC73944E889CC3CEADDB205B07909337@bu-dtagpo1.tracs.com>


> -----Original Message-----
> Yes, but my hands are tied in this situation.

Are you allowed to define a sane column alias in the view?

SQL> desc crap;

Name                  Null?    Type
-------------------- -------- ----------------------------------------------
HELLO & GOODBYE               VARCHAR2(100)

SQL> set escape \
SQL> create view crap_view as select "HELLO \& GOODBYE" sane from crap;

SQL> select * from crap_view;

SANE



HELLO
GOODBYE

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Apr 15 2004 - 09:26:59 CDT

Original text of this message

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