How can we help you today? How can we help you today?
cmasaya

Activity overview

Latest activity by cmasaya

way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? This is the Relational Model way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? Thank You for your Help, this is the exactly situation: 1. I have a table of "DEPARTAMENTOS" is like State 2. I have a table of "MUNICIOPIOS" is like city 3. the DEPARTAMENTOS has a 1 to n relation with a MUNICIOPIOS TABLE, as you can see in the next picture: [image] 4. the situation is that when I generate information for the tabal "AFFILIATE" the department is generated OK, but the municipality generated does not belong to the related department. Lo can be seen below. [image] finaly, this is the way as i'm generating the information in RedGate. [image] [image] / comments
way0utwest wrote: » Can you provide more schema DDL and sample data that explains this? Is this a compound FK? This is the Relational Model way0utwest wrote: » Can you provide more schema ...
0 votes
How to generate a foreign key that respects the referential integrity?
I need to generate information for a column whose foreign key depends on another column of the same table (previously generated). How can I ensure that the referential integrity of the generated in...
3 followers 9 comments 0 votes