Re: [PERFORM] (Re)-indexing on updates

2005-08-22 Thread Yves Vindevogel
The option with T1: A B C and T2 A D (to avoid the updates) works very well with a simple query Insert into T2 (A, D) select A, functionToGetD from T1 left join T2 on T1.A = T2.A where T2.A is null The above gives me the new records for those where D was not filled yet. Since they are all new

Re: [PERFORM] (Re)-indexing on updates

2005-08-21 Thread Jeffrey W. Baker
On Sun, 2005-08-21 at 20:32 +0200, Yves Vindevogel wrote: > > > __ > > Hi, > > Say I have a table with column A, B, C, D > A has a unique index on it (primary key) > B and C have a normal index on it > D has no index > > If I