Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在实现活动记录模式时,我应该实现 MS SQL ServerCHECK约束以及 MySQLENUM和SET约束吗?
CHECK
ENUM
SET
是的,这些很容易实现约束(与数据完整性约束相比),我不明白为什么不这样做!