Page 1 of 1

Addition in update

Posted: Wed Jul 05, 2006 10:23 pm
by GeXus
Is there a way to add a value to a record on update? So like update table set col + 1?

Posted: Wed Jul 05, 2006 10:30 pm
by feyd
yes.

Posted: Wed Jul 05, 2006 10:34 pm
by GeXus
Do tell :)

Posted: Wed Jul 05, 2006 10:53 pm
by feyd
You can find an example on the UPDATE Syntax page.