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: Newbie SQL*plus (stupid question???)

Re: Newbie SQL*plus (stupid question???)

From: Dale Edgar <dale_at_databee.com>
Date: Tue, 25 Sep 2001 13:03:28 GMT
Message-ID: <3bb07f31.19532020@news.btclick.com>


Hi Miklo

On Tue, 25 Sep 2001 13:39:52 +0200, "Miklo" <jha_at_xs4all.nl> wrote:

>Logged in as user System in SQL*plus I've created:
>
>- a table test in tablespace tenr01,
>- Create user bill identified by passwrd default tablespace tenr01
>- grant dba to bill;
>
>when I excecute this query "select * from test" I get a result.....very nice
>
>but when I logged in as user Bill and I excecute that query it says "Table
>or view does not exist"..
>As user Bill I've got dba rights and my default tablespace is tenr01 (where
>table test is).

The BILL schema does not know where to find the TEST table. Try "select * from system.test". Or you can set up a synonym in BILL that makes TEST in BILL point at SYSTEM.TEST. Another option is to set up a PUBLIC synonym in system that makes every schema that does not have a TEST table (or view) reference SYSTEM.TEST.

Regards
Dale



DataBee - Oracle DataBase Subsets
Create small training and development databases the easy way. http://www.databee.com Received on Tue Sep 25 2001 - 08:03:28 CDT

Original text of this message

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