Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7930421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:25:07+00:00 2026-06-03T20:25:07+00:00

I work on an enterprise system that utilizes effective dated joins. I am trying

  • 0

I work on an enterprise system that utilizes effective dated joins. I am trying to figure out how to document the joins between the tables to assist me with my queries. As far as I can tell this information does not exist in the index or constraint information on the tables. Which database document or tool would be best suited for recording this information?

An example of a join would be:

Table_A
Key_ID - Primary Key
Employee_ID
Position_ID
Effective_DT
Unique Key -> Employee_ID, Position_ID, Effective_DT

Table_B
Employee_ID
Position_ID
Effective_DT
Table_A_Key_ID
Unique Key -> Employee_ID, Position_ID, Effective_DT

Table_A_Key_ID is a foreign key from Table_A and cannot be null. In other words, every record in Table_B requires a corresponding record in Table_A but the reverse is not true. To determine the record in Table_B that relates to a record in Table_A that does not have a corresponding record you need to grab the highest effective dated record less than Table_A.Effective_DT.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T20:25:11+00:00Added an answer on June 3, 2026 at 8:25 pm

    An ER modelling tool will document referential integrity, but will not by itself help you document all the JOINs that you do in your client code (that might not all “lie” on top of FKs).

    Either always do the JOINing through views (which ER tool should help you document), or you’d need to have a separate documentation just for JOINs. This can be a separate document or embedded in the source-level documentation (near the code that actually initiates the JOINs). Prefer the second option since people maintaining the code will be more likely to update the documentation as they update the code and make changes to JOINs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At work we are designing an enterprise system that will consist of a few
In my work environment, we have a number of Enterprise Java applications that run
I am trying to solve a problem inside my dad's enterprise system, the system
I work with an engineering team that's built an enterprise-class web application. Currently, the
i am new in project for company that have bigger enterprise/accounting system based on
At work i am forced to use an old version RedHat enterprise. This is
I work for a very large organization that is looking for new ideas. Currently
I need to create a system comprising of 2 components: A single server that
I'm having a weird problem on deployment while trying to use Microsoft Enterprise Library's
I am trying to implement caching in .Net such that the cached data is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.