On 2012-01-03, Misa Simic <misa(dot)simic(at)gmail(dot)com> wrote:
> If exists is better, though insert line by line and check if exists may
> be very slow...
>
> The best would be if you can use copy command from csv to staging table
> (without constraints) and then
>
> Insert to live from stage where stage constraint column not exist in
> live...
>
Its a good idea to check that the staging table doesn't
conflict with itself, before tryign to insert it.
--
⚂⚃ 100% natural