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 reference table/view that has "slashes" in its name!

Re: How to reference table/view that has "slashes" in its name!

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Wed, 13 Aug 2003 09:23:35 -0700
Message-ID: <3F3A6607.F85F77A2@exxesolutions.com>


Alex wrote:

> I'm new to Oracle, so this question may sound silly. I have been given a
> list of Oracle tables (they may be views, I'm not sure) that are available
> to me. I can run simple SQL select statements against most of them in SQL
> Plus. But some of them have "slashes" in their names such as /XYZ/CUSTOMERS
> or /XYZ/ADDRESSES . When I try to use the name the way it's listed (with
> slashes) I get an error. I even tried replacing the slashes with dots, but
> that didn't work either. My question is how do I reference a table/view (in
> a SQL select statement for instance) that has slashes in its name. I'm not
> sure if this is relevant, but I think the Oracle database runs on a Unix
> box. Thanks in advance.
>
> Alex

If you can't get some sanity and rename the objects ... create synonyms.

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Wed Aug 13 2003 - 11:23:35 CDT

Original text of this message

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