+= for SQL
Moderator: General Moderators
+= for SQL
Like in PHP, is there a += assignment operator in SQL or something equivalent?
Re: += for SQL
[sql]UPDATE TABLE SET FIELD = FIELD + 1;[/sql]
Re: += for SQL
This is the way I'm doing it right now, but I was just wondering if there was another way, one that involves an operator of some kind. I was assuming that an operator would be faster for this, if one exists.