I have the following query:
alter table FINALIDADE_OPERACAO_MODAL
add constraint UK_t127pwh154arjh5whq0g4dlrm unique (NOME);
As I create a function that checks if it exists before, and if it does not exist, it creates, and if it already exists, it exits the command.