Hi, I need to add Field not null constraint with my custom name. in previous versions of Firebird we can do: 1. ALTER TABLE XXX ADD FIELDX INTEGER CONSTRAINT NK_XXX__FIELDX NOT NULL; 2. UPDATE TABLE XXX SET FIELDX=some calculations; Now in Firebird 3 this is prohibited on table with data. Then i do this on FB3. 1. ALTER TABLE XXX ADD FIELDX INTEGER; 2. UPDATE TABLE XXX SET FIELDX=some calculations; 3. Add not null - how? I see only ALTER TABLE XXX ALTER FIELDX SET NOT NULL; there are not place for constraint name i need to add Field not null constraint with my custom name. regards, Karol Bieniaszewski
[firebird-support] Alter column not null with constraint name FB3
liviuslivius [email protected] [firebird-support] Tue, 24 Apr 2018 00:46:07 -0700
- [firebird-supp... liviuslivius [email protected] [firebird-support]
- Re: [fire... Mark Rotteveel [email protected] [firebird-support]
- Re: [... Mark Rotteveel [email protected] [firebird-support]
- Re: [... 'livius' [email protected] [firebird-support]
- R... Mark Rotteveel [email protected] [firebird-support]
- ... 'livius' [email protected] [firebird-support]
