Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to reference table/view that has "slashes" in its name!
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