From: Don Dachner [mailto:[EMAIL PROTECTED]

> Is it possible to do something like this?
>  
> If(select * from xxx, "if record found"..update it, "if 
> record not found" ..insert it)

Try the REPLACE INTO syntax:

http://dev.mysql.com/doc/mysql/en/REPLACE.html


-- 
Mike Johnson
Web Developer
Smarter Living, Inc.
phone (617) 886-5539

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to