PRB: Synonyms of DBLinked Tables Do Not Show in Data View Window
ID: Q239103
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0
SYMPTOMS
Oracle synonyms used to connect to DBLinked tables do not show up in the Data View window of Visual Basic version 6.0.
RESOLUTION
Use a View of the DBLinked table instead of a Synonym or use Visual C++'s Database Project.
STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
- Create the following table on one Oracle Server (OracleServer1).
CREATE TABLE mytable (fld1 number(3,0) PRIMARY KEY, fld2 varchar2(20))
INSERT INTO mytable values (100, 'test')
INSERT INTO mytable values (200, 'test')
- Use the following code to create a Data Linked Table and a Synonym to the linked table on another Oracle Server.
CREATE DATABASE LINK mylink CONNECT TO demo IDENTIFIED BY demo USING 'OracleServer1';
CREATE SYNONYM mysynonym FOR mytable@mylink;
NOTE: "demo" is a global Oracle user name and password.
- Start Visual Basic 6.0 and open the Data View window.
- Make the appropriate connections within the Data View Window to the Oracle Server containing the Synonym.
- Go to the Synonyms folder in the Data View Window and note that the Synonym does not show up.
REFERENCES
Oracle Online Help
© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Matthew Hofacker, Microsoft Corporation
Additional query words:
Keywords : kbDatabase kbDataview kbOracle kbVBp600 kbGrpVBDB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb