Pular para o conteúdo principal

Questão de Banco de Dados — SQL Server — FGV 2022

Banco de DadosSQL Server
Código
fg055528
Banca
FGV
Órgão
TJ-DFT
Ano
2022
Nível
Superior
Cargo
Analista Judiciário - Análise de Sistemas
No SQL Server 19, o comando de criação de restrições de chaves estrangeiras (em inglês, foreign key constraints) oferece as cláusulas ON DELETE e ON UPDATE, cujo conjunto de opções permitidas é:
  1. ACASCADE, NO ACTION, RAISE ERROR e SET NULL;
  2. BCASCADE, NO ACTION, RESTRICT e SET NULL;
  3. CCASCADE, NO ACTION, SET DEFAULT e SET NULL;
  4. DNO ACTION, RAISE ERROR, SET DEFAULT e SET NULL;
  5. ERESTRICT, SET DEFAULT e SET NULL.
Revelar gabarito e comentário

GabaritoC — CASCADE, NO ACTION, SET DEFAULT e SET NULL;

Link permanente: /questoes/fg055528