RogerCooper
Registered User.
- Local time
- Today, 10:28
- Joined
- Jul 30, 2014
- Messages
- 530
I need to create a constraint within SQL Server that enforces the rule NET_WEIGHT <= GROSS_WEIGHT. My problem is that the GROSS_WEIGHT field is in a different SQL server database. How would I create such a constraint? Is there a way I could create a view or some similar object within my database which would have the data from the other database? Or is there a way I can define a constraint to lookup the data directly from the other database?