Concurso:
MPE-AL
Disciplina:
Banco de Dados
Analise o comando de criação da tabela teste, com cinco constraints, exibido a seguir.
create table teste ( a int null, b varchar (40) not null, c int, constraint pk_a primary key (a), constraint fk_a_c foreign key (c) references teste, constraint uq_b unique (b), constraint up_c unique (c), constraint ch_1 check ( a >= 0.5 * c ) )
Assinale a constraint desse script que seria rejeitada no MS SQL Server.
create table teste ( a int null, b varchar (40) not null, c int, constraint pk_a primary key (a), constraint fk_a_c foreign key (c) references teste, constraint uq_b unique (b), constraint up_c unique (c), constraint ch_1 check ( a >= 0.5 * c ) )
Assinale a constraint desse script que seria rejeitada no MS SQL Server.