troubleshooting Question

SQL Server Cascading Updates on Insert

Avatar of tsmolskow
tsmolskow asked on
Microsoft SQL Server
3 Comments1 Solution564 ViewsLast Modified:
I've created an aggregate table in SQL Server.  The table is built from it's own unique key and other tables.  The relationship between the other tables and the aggregate table is fk/pk of course.  In the database diagram view I have set the property for each relationship to enforce relationships for inserts and updates.  Given all this, I expected the updates to automatic when I update the individual tables with an insert statement.  I know the insert statement works because each individual table shows the new data.  I also know the relationship works in some way, becuse when I manually add the fk table ID numbbers, then the views show a comlete record set.  One final note, each of the PK's has it's own automatic identity seed for sequential numbering.  What am I doing wrong?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros