MySQL

Bradley Miller bradmiller at dslonramp.com
Wed Jul 18 19:55:18 CDT 2001


What about using the replace command?

http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#REP
LACE

-- Bradley Miller

At 02:41 PM 7/18/01 -0500, Gene Dascher wrote:
>You can't do it, as far as I know.  It has to be one or the other.  To
>accomplish this task, you have to run 2 separate statements.  

In response to Jason who wrote:
>> Im trying to write an SQL statement that will update a row if the data
>> exists or insert a new row if it doesnt.  All of the web research that I
>> have done on this gives me expressions that will not evaluate.  Does
>> anyone know how to accomplish this?




More information about the Kclug mailing list