Subject | Re: [firebird-support] How to fill column with data |
---|---|
Author | James |
Post date | 2004-03-18T07:13:57Z |
Hi Richard
richard poulin wrote:
like gen_uniquenumber, then execute this statement to fill the update
with the column that has null value this unique numbers.
update tableA
set columnA = gen_id(gen_uniquenumber,1)
where columnA is null;
james
richard poulin wrote:
> I want to fill a column with unique numbers (let say any unique numbersI will be using generator for this one. First ill create a generator
> from a series, ie: between 2000 and 9000) . The column already contains
> nulls and integers that will be updated by the new numbers. How could i
> update the whole column with the new values? Thanks
>
> RP.
like gen_uniquenumber, then execute this statement to fill the update
with the column that has null value this unique numbers.
update tableA
set columnA = gen_id(gen_uniquenumber,1)
where columnA is null;
james