db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Shekhar <Anurag.Shek...@Sun.COM>
Subject Re: [jira] Created: (DERBY-3566) Alter column set data type not allowed in soft upgrade with unique constraint
Date Mon, 24 Mar 2008 16:39:13 GMT
It might be because of my work related to unique constraint, I will look 
into it.
anurag

Kathey Marsden (JIRA) wrote:
>
>
> In 10.4 soft upgrade mode I cannot:
> ij> create table t0 (i int not null, v varchar(1) not null, constraint  uq unique(v,i));
> 0 rows inserted/updated/deleted
> ij> alter table t0 alter v set data type varchar(2);
> ERROR 42Z20: Column 'V' cannot be made nullable. It is part of a primary key or unique
constraint, which cannot have any
> nullable columns.
> ij>
>
>
>   


Mime
View raw message