Hi,
when I try to execute a script conditionally, i have the following error:
Code:if 1=2 begin
select 1;
ALTER TABLE Color ADD Value bit NULL ;
end
else
begin
select 2;
end
Msg 2705, Level 16, State 4, Line number 3
Column names in each table must be unique. Column name 'Value' in table 'Color' is specified more than once.
but the script is never executed.
How do I disable the control?