Version: Version 2.6 (Final)
Database: Oracle 8i
Driver: Oracle 8i/9i/10g Driver (Oracle .Net Provider)
Hi,
Is there a way in the designer can you create a relationship using a non PK and FK columns. The designer is only showing PK fields on the selection. We have few tables on our database that has no PK/FK setup. As application developer, we don't have access to create the proper key on those tables.
And we also have some existing index on the tables that if use it to create relationship, it will be a lot faster
Here's a example scenario
Customer Order
CustomerId (PK) OrderId
CustomerGroup CustomerId (FK)
.. CustomerGroup
...
Customer has index setup on combination CustomerId & CustomerGroup
Order also has index setup on combination CustomerId & CustomerGroup
So if we used the both CustomerId and CustomerGroup to create relationship instead of just customerid, query is more faster.
I know our table is not well normalized but this is an old application that where trying to convert without much changes on the database part.
Thanks.