Subject | RE: [firebird-support] RE: Database update problem |
---|---|
Author | Thomas Steinmaurer |
Post date | 2004-09-23T10:43:05Z |
> > Script:Oops, sorry. Missed the SET AUTODDL ON statement. :-/
> > SET AUTODDL ON;
> > ALTER TABLE CORRESP add COL Varchar(35) NOT NULL;
>
> COMMIT; <---- missing
>
> > update corresp set col='';
> > update corresp set cref='' where cref is null;
> > update corresp set col=cref;
>
> Do a commit here as well.
>
> > alter table corresp drop cref;
> > alter table corresp add CREF Varchar(35) NOT NULL;
>
> Again, COMMIT DDL changes, before using them in a DML
> statement.
Thomas