<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mysql Add on Jamshid Hashimi</title><link>https://jamshidhashimi.com/tags/mysql-add/</link><description>Recent content in Mysql Add on Jamshid Hashimi</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Mon, 30 Jul 2012 06:49:44 +0000</lastBuildDate><atom:link href="https://jamshidhashimi.com/tags/mysql-add/rss.xml" rel="self" type="application/rss+xml"/><item><title>Add an integer with a field value</title><link>https://jamshidhashimi.com/add-an-integer-with-a-field-value/</link><pubDate>Mon, 30 Jul 2012 06:49:44 +0000</pubDate><guid>https://jamshidhashimi.com/add-an-integer-with-a-field-value/</guid><description>Scenario: You have a field in database where you want to add it all with a number for example: 1000;
you can update all of them like this:
UPDATE mysql_table SET user_id = 1000 + user_id;</description></item></channel></rss>