Visio 2019 reverse engineering doesn't show foreign keys in my diagram

JERRY Warra 121 Reputation points
2021-07-12T19:50:25.237+00:00

I'm working on creating an ER diagram for one of my oracle database schemas and I'm able to reverse engineer the database where I can see all the tables I want, but when I drag 2 tables that are parent/child to one another, there is no relationship being displayed. There is no connection line between them and the child table doesn't show the "FK" annotation.

Am I missing some display setting or option that is causing this issue? I'm using an Oracle 19c database.

Thank you for any help

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Visio | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. JERRY Warra 121 Reputation points
    2021-07-15T12:36:57.26+00:00

    If figured out the issue. I have multiple oracle clients and it was using 11g not 19c as I had intended. I uninstalled 11g and then created an ODBC to my schema and this time when I dragged the tables it should all of the information I wanted.

    Thank you for your help

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2021-07-13T08:12:23.36+00:00

    Hi @JERRY Warra ,
    Did you create the relationship for 2 tables?
    Refer to this support article about "Define a relationship in a Database Model diagram":
    https://support.microsoft.com/en-us/office/define-a-relationship-in-a-database-model-diagram-e81d162b-65a1-4f2e-b57c-ee8a17de877e


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. JERRY Warra 121 Reputation points
    2021-07-13T12:45:47.427+00:00

    Yes the tables already have the relationship within oracle. In the past I would reverse engineer and then select the 2 tables and drag them to the grid and it would should both tables with the line showing there is a relationship. This has been really perplexing since it has worked with the same schema in the past. Is there any issue with Oracle 19c and Visio 2019 when it comes to showing relationships?

    Within Visio 2019 when I highlight a table it has small circles with slashes through them at 8 different points on the border of the table. Is this an indication of some issue?

    Thank you

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.