Skip to Main Content

SQL Developer Data Modeler

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Target Table must be Local Table

Ralph AshleyApr 7 2021

How do I resolve the above error message?
I am trying to amend a relational data model by adding a foreign key and I receive the above error message.
TargetTableMustBeLocalTable.PNG

This post has been answered by Dave Schleis on Apr 14 2021
Jump to Answer

Comments

user111989
Answer

Try to put and check if it reduces time. also check if it works for all the combination because we need target block for this to work

SET FRMLBOTTOMUP ON;

https://docs.oracle.com/cd/E57185_01/ESBTR/set_frmlbottomup.html

Marked as Answer by Zut Alors · Sep 27 2020
Jeo123

If you go to the logs when the calc is run, it'll tell you a bunch of useful things.  In particular, are you seeing notifications about calc mode being set to cell mode or something similar in there?

More importantly though, why not just agg the  geography dimension and then reference the total instead of doing a sum of the dimension on every entity?  Is there something in your app design that prevents that?

Zut Alors

@Jeo123

that's correct, aggregating a section of the dim would have helped, except there is some additional one-off calculation that need to occur

thanks,

cl

Zut Alors

that reduced the calc time by 80% - thank you!

1 - 4

Post Details

Added on Apr 7 2021
10 comments
298 views