Oracle FK Dependencies

5 pts.
Tags:
Oracle
PL/SQL
SQL
A query I run accesses multiple tables. One of those tables has a FK dependency on a column, which is populated by the application and hardcoded as a single value for all records. So in the where clause when im joining all the tables to get the data required, it is only pulling data for that hardcoded service across all tables. Is there a way to bypass the FK dependency in the query? If i take the join clause out, it just runs forever.


Software/Hardware used:
Oracle
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • carlosdl
    Much more info is needed to be able to help you.

    We would need to see the table's structure and some example data, and we would also need to see the query you are running.

    FK dependency is not enforced in any way in a SELECT statement.  You can write a query in the exact same way regardless of the existence of a FK.

    It's not clear what you want to do or what the problem is.  Please provide more details.
    84,805 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: