I have a group that checks a field to make sure that there's no lower-case characters in a person's name. The only exception I have is at the end where the person's last name has an "Mc" in it.
EXCEPT SELECT * FROM Person
WHERE Pers_LastName like '%Mc%' COLLATE Latin1_General_CS_AI ORDER BY Pers_PersonId Pers_LastName like '%De%' COLLATE Latin1_General_CS_AI ORDER BY Pers_PersonId
I would like to include other EXCEPT statements like if the person's last name started with "De." I've tried different attempts but CRM tosses back an error each time.
What is the correct syntax for multiple except statements?