How do I enforce data integrity rules in my database?

前端 未结 11 1316
滥情空心
滥情空心 2021-01-20 04:07

I\'m designing this collection of classes and abstract (MustInherit) classes…

11条回答
  •  情话喂你
    2021-01-20 05:07

    You can set up some insert/update triggers. Just check if these fields are null or notnull, and reject insert/update operation if needed. This is a good solution if you want to store all the data in the same table.

    You can create also create a unique table for each classes as well.

提交回复
热议问题