Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Do I need to create contexts?

$
0
0

I am attempting to build my first universe that goes beyond the basics and a handful of tables.

 

The scenario is that I have a Transfer table that has also the details about moving money from one account to another.  The accounts can be internal to my bank, external to my bank, credit cards, PayPal, etc.  However, one of the accounts must be an internal accounts.  Here are the core tables I am with which I am working...

 

Transfer

TransferID (PK)

CustomerNumber

SourceAcctID (FK)

DestAcctID (FK)

...

 

ExternalAccount

AcctID (PK)

CustomerNumber

AccountNumber

...

 

How do I connect the ExternalAccount table to the Transfer table when an external account could be either the source or the destination account for given transfer?  I know that I need to do some research and reading and specifically asked for some direction here.  Do I need a context?  Aliases?  Maybe I need to denormalize the data first.

 

Any suggestions?

 

Thanks,

 

Noel


Viewing all articles
Browse latest Browse all 1291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>