Visual Basic/Oracle7 ODBC driver question 
Author Message
 Visual Basic/Oracle7 ODBC driver question

In designing a utility to load data into Oracle using Visual Basic as a
front end, problems arose in trying to read into the proper tables.  These
problems can be summarized in the following paragraphs, taken from Oracle7
ODBC Driver (Release January 1995) and Visual Basic 3.0 Documentation:

PROBLEMS WITH RUNNING A QUERY ON A USERNAME QUALIFIED TABLE VIEW:
When you type from any Visual Basic or Microsoft Access application,
select * from SCOTT.EMP, the query terminates with the following error
message, "Couldn't find 'USER.MDB'.  Error #3024".  Microsoft Corporation
is aware of this limitation with the application Visdata of Microsoft
Visual Basic 3.0.

PROBLEMS WITH SYNONYMS:
The JET layer is unable to distinguish between two objects of the same
name.  This raises problems with synonyms such as SYSTEM.EMP and
SCOTT.EMP.  Moreover, Oracle7 public synonyms are returned by the ODBC
driver as belonging to "PUBLIC".  Visual Basic does not display the owner
as PUBLIC.  This causes resolution conflicts between a synonym like
ALL_TABLES and SCOTT.ALL_TABLES.

Is there a fix or a work around to these problems?  Any solutions or
suggestions would be greatly appreciated.



Sat, 06 Mar 1999 03:00:00 GMT  
 Visual Basic/Oracle7 ODBC driver question

Try SQLPassThrough option for CreateSnapshot/CreateDynaset in VB3 or
OpenRecordset in VB4. Note that the Jet query process is bypassed. See
manual for more detail.



Quote:

> Is there a fix or a work around to these problems?  Any solutions or
> suggestions would be greatly appreciated.



Tue, 09 Mar 1999 03:00:00 GMT  
 Visual Basic/Oracle7 ODBC driver question

Quote:

>In designing a utility to load data into Oracle using Visual Basic as a
>front end, problems arose in trying to read into the proper tables.  These
>problems can be summarized in the following paragraphs, taken from Oracle7
>ODBC Driver (Release January 1995) and Visual Basic 3.0 Documentation:
>PROBLEMS WITH RUNNING A QUERY ON A USERNAME QUALIFIED TABLE VIEW:
>When you type from any Visual Basic or Microsoft Access application,
>select * from SCOTT.EMP, the query terminates with the following error
>message, "Couldn't find 'USER.MDB'.  Error #3024".  Microsoft Corporation
>is aware of this limitation with the application Visdata of Microsoft
>Visual Basic 3.0.
>PROBLEMS WITH SYNONYMS:
>The JET layer is unable to distinguish between two objects of the same
>name.  This raises problems with synonyms such as SYSTEM.EMP and
>SCOTT.EMP.  Moreover, Oracle7 public synonyms are returned by the ODBC
>driver as belonging to "PUBLIC".  Visual Basic does not display the owner
>as PUBLIC.  This causes resolution conflicts between a synonym like
>ALL_TABLES and SCOTT.ALL_TABLES.
>Is there a fix or a work around to these problems?  Any solutions or
>suggestions would be greatly appreciated.

It sounds like you are using JET-attached tables.  If so, try to use ODBC
to talk directly to the Oracle database.  This not anly alleviates alot of
problems, it is also much faster.

--
Mark Wagoner



Tue, 09 Mar 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Visual Basic/Oracle7 ODBC driver question

2. ODBC ORACLE7 WHIT VISUAL BASIC 4.0

3. VB4 Front end to Oracle7 w/SQL*NET2 -- Need ODBC driver to support RDO

4. Visual Basic/Oracle7/Crsytal Reports Questions

5. Oracle7 - ODBC Driver (Small FAQ)

6. Problem with System 10 ODBC driver under Visual Basic

7. Visual Basic and ODBC driver for Delphi Interbase Server

8. Connect Informix database thru ODBC driver using Visual Basic

9. Oracle ODBC driver / Microsoft ODBC driver for Oracle

10. Visual Basic/Oracle7/Crsytal Reports

11. ODBC Error: Oracle7.2, ODBC, VB4.0, DAO, Jet 3.0

12. ODBC and Visual Basic question?

 

 
Powered by phpBB® Forum Software