Skip to content

Embedded Objects Question #3146

Answered by laurenceisla
viv84 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. So, is it something like:

YourTable
- id1 (fk to TableX)
- id2 (fk to TableX)

And one or the other will be null? I think that this can be solved by using Computed Relationships. You can add the COALESCE(id1,id2) to the WHERE filter inside the function.

Try it out to see if it works, if you need help building it, share a simple DDL example to reproduce the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants