Search Postgresql Archives

Re: if exists...does it exists for insert statments?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello
On 11/12/2007, Pau Marc Munoz Torres <paumarc@xxxxxxxxx> wrote:> could i use a sentence similar to the mysql sentence>> insert if not exist into SP values ('cesp','sp');>
insert into sp  select 'cesp','sp'  except  select * from SP;
RegardsPavel Stehule
> in postgresql?>> pau>>> --> Pau Marc Muñoz Torres>> Laboratori de Biologia Computacional> Institut de  Biotecnologia   i Biomedicina Vicent Villar>> Universitat Autonoma de Barcelona> E-08193 Bellaterra (Barcelona)>> telèfon: 93 5812807> Email : paumarc.munoz@xxxxxxxxxxxxxx
---------------------------(end of broadcast)---------------------------TIP 9: In versions below 8.0, the planner will ignore your desire to       choose an index scan if your joining column's datatypes do not       match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux