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

Home -> Community -> Usenet -> c.d.o.server -> Re: Problem accessing Personal Oracle7 through Visual Basic

Re: Problem accessing Personal Oracle7 through Visual Basic

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 22 Sep 1998 20:22:16 +0200
Message-ID: <3607EAD7.EBB9ACE7@sybrandb.demon.nl>


As far as I remember this 'feature' applies only to users with dba privilege. Check whether scott has dba priv (select * from session_privs in sqlplus) and if needed revoke it and attach all the tables again. This should hopefully resolve your problem

Thanks,

Sybrand Bakker, Oracle DBA

Chunangad S. Sriram wrote:

> While trying to access Personal Oracle7 with the help of Microsoft's
> ODBC driver for Oracle from Visual Basic, I encountered the following :
>
> One of the conventional users of Personal Oracle is 'scott'. By using
> the Personal Oracle Navigator, I found that 'scott' had ownership of
> tables 'EMP', 'DEPT' etc.. But when I tried to open a database from VB
> using the MS ODBC driver for Oracle with the owner name as 'Scott', I
> got to open all the tables (system tables, some of them whose names
> started with 'PUBLIC') except for those small tables 'EMP', DEPT' which
> I planned to query with SQL statements.
>
> Could anyone kindly tell me how I can get to open only the non-system
> tables which I want to perform SQL queries on ?
>
> Sriram
Received on Tue Sep 22 1998 - 13:22:16 CDT

Original text of this message

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