RE: UPDATE or INSERT

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

 



> What is a good way of handling data insertion/update into a mySQL
table
> when there may or may not be an existing record?

You can use REPLACE, but it's not standard SQL. 

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux