INSERT OR UPDATE WITHOUT SELECT

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

 



Hi, 

Is there a command to Insert a record If It does not exists and a update if 
It exists? 

I do not want to do a select before a insert or update. 

I mean the postgres should test if a record exist before insert and if It 
exist then the postgres must do an update instead an insert. 

Thanks, 

WMiro. 




[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux