I'm in Visual Basic trying to make a program to manage a database, well I have the following SQL statement in the program to add UNIQUE to two fields of a table:
"ALTER TABLE RESEARCHERS ADD CONSTRAINT RESEARCHERS UNIQUE (resEmail,
resPhoneNumber);"
But I want to make sure that before adding it, check if it already exists, since otherwise the program gives an error.