On Thu, 23 Aug 2007 14:15:00 -0400, you wrote:

>On Thu, 23 Aug 2007 18:58:32 +0200, Kees Nuyt wrote:
>
>>Hi Chris,
>
>>On Thu, 23 Aug 2007 12:14:51 -0400, you wrote:
>
>>>On Thu, 23 Aug 2007 08:52:40 -0700, Gerry Snyder wrote:
>>>
>>>>Will  INSERT OR REPLACE  do what you want?
>>>
>>>>Gerry
>>>
>>>Regrettably no. When an existing core record is found then it
>>>is deleted before the insert. That means that all columns are
>>>given new values and not just the ones to be updated.
>
>>That is exactly what INSERT OR REPLACE does.
>
>>http://www.sqlite.org/lang_insert.html
>>http://www.sqlite.org/lang_conflict.html
>
>
>Sorry for the confusion I introduced. I know the behaviour
>of INSERT OR REPLACE is as-described, and that is NOT
>what I want. I need to keep the non-updated columns.
>
>Chris

Oops, I obviously misread your statement.

Just a suggestion (no time to try it myself): Perhaps a BEFORE
INSERT trigger on Core can help, triggered by an INSERT ...
SELECT ... FROM UpdateTable?

I'm not sure if it would work and how fast it would be.
Good luck!
-- 
  (  Kees Nuyt
  )
c[_]

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to