Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

1 vote
Accepted

How to implement an "Apple or Orange but not both" constraint

either a Site or to a Technician - but not both. alter table Robots add Check (SiteID is null or TechnicianID is null)
SergeyA's user avatar
  • 690

Top 50 recent answers are included