<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in MySQL: Increment an exisitng value</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/mysql_increment_an_exisitng_value_mysql_tech_recipes/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 06 Jun 2011 11:21:38 -0000</lastBuildDate><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-219104276</link><description>&lt;p&gt;&lt;a href="http://bit.ly/lVwd56" rel="nofollow noopener" target="_blank" title="http://bit.ly/lVwd56"&gt;http://bit.ly/lVwd56&lt;/a&gt; :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mihai Stefan</dc:creator><pubDate>Mon, 06 Jun 2011 11:21:38 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-199920546</link><description>&lt;p&gt;&lt;br&gt;oh my!! i love you so much!!&lt;/p&gt;&lt;p&gt;Thank you so much.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">christian louboutin outlet   </dc:creator><pubDate>Sun, 08 May 2011 20:04:47 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-187221595</link><description>&lt;p&gt;Awesome Thanks :)  Just to help others out.. here is what I used to update a price column in an Open Cart store by $2 in phpmyadmin:&lt;/p&gt;&lt;p&gt;UPDATE `DBNAMEHERE`.`product` SET `price` = `price`+2&lt;/p&gt;&lt;p&gt;Replace DBNAMEHERE with your db name&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CSS</dc:creator><pubDate>Mon, 18 Apr 2011 21:07:40 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-177341266</link><description>&lt;p&gt;Nice ! this is the tweak I need.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">boonanny</dc:creator><pubDate>Sun, 03 Apr 2011 09:43:05 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-168229833</link><description>&lt;p&gt;wakakka&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tulanling</dc:creator><pubDate>Sat, 19 Mar 2011 13:05:00 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-160882206</link><description>&lt;p&gt;Remove the WHERE clause...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pieterkegel</dc:creator><pubDate>Sat, 05 Mar 2011 08:21:41 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-144066047</link><description>&lt;p&gt;If I want to increment all Ids then what should i Do&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guest</dc:creator><pubDate>Thu, 10 Feb 2011 09:29:43 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-139283019</link><description>&lt;p&gt;Four people can't understand MySQL. =(&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick</dc:creator><pubDate>Thu, 03 Feb 2011 00:38:33 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-124886160</link><description>&lt;p&gt;Thanks! You're the man!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pieter Kegel</dc:creator><pubDate>Thu, 06 Jan 2011 03:53:44 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-63164201</link><description>&lt;p&gt;3 Years later and this is still helping people!!! thanks &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ms_ngobeni</dc:creator><pubDate>Mon, 19 Jul 2010 06:45:30 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-60783462</link><description>&lt;p&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rippa911</dc:creator><pubDate>Tue, 06 Jul 2010 13:02:30 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-60762187</link><description>&lt;p&gt;That's exactly what I was looking for....thanks! :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Samthunderbolt</dc:creator><pubDate>Tue, 06 Jul 2010 10:15:32 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-57640002</link><description>&lt;p&gt;Cool info.  Thanks for adding to the discussion.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qdideas</dc:creator><pubDate>Sat, 19 Jun 2010 10:58:53 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-57528563</link><description>&lt;p&gt;If the table you're updating has a unique key such as an ID or URL field, you can extend an INSERT statement to include the above UPDATE in one go:&lt;/p&gt;&lt;p&gt;INSERT INTO images (name, counter) VALUES ('blah.gif', 1) ON duplicate KEY UPDATE counter = counter + 1&lt;/p&gt;&lt;p&gt;Assuming name needs to be unique.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Coastal Web</dc:creator><pubDate>Fri, 18 Jun 2010 18:39:30 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-33209887</link><description>&lt;p&gt;Nice one.this is the thing I am looking for.. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gururaj B AShetty</dc:creator><pubDate>Tue, 09 Feb 2010 01:21:09 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-32169087</link><description>&lt;p&gt;thnx, guy! It works!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anonymous</dc:creator><pubDate>Sat, 30 Jan 2010 16:39:22 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-29957161</link><description>&lt;p&gt;super. just what I was looking for.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Richard Neil Ilagan</dc:creator><pubDate>Fri, 15 Jan 2010 07:50:49 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-28657070</link><description>&lt;p&gt;thanks .. i wanted it for my shopping cart product views&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Infected Pixel</dc:creator><pubDate>Wed, 06 Jan 2010 06:22:06 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-27460880</link><description>&lt;p&gt;thanks, just what i need to know (-:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ankur_mahajan</dc:creator><pubDate>Tue, 29 Dec 2009 06:23:20 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-20850267</link><description>&lt;p&gt;Thanks this is what i was looking for.....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Harpreet Singh</dc:creator><pubDate>Fri, 23 Oct 2009 06:48:15 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-15560863</link><description>&lt;p&gt;Thank you&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ohmyfile.com</dc:creator><pubDate>Sat, 29 Aug 2009 04:09:41 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-8077146</link><description>&lt;p&gt;He ain't incrementing an image, that is just the name of the table, and pretty sure that 'counter' is a tuple in the table, and that it's an Integer.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joggy</dc:creator><pubDate>Sat, 11 Apr 2009 08:37:21 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-7650803</link><description>&lt;p&gt;What would be the syntax for decrementing/incrementing a number and not an image?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">TeyBobster</dc:creator><pubDate>Mon, 30 Mar 2009 20:33:59 -0000</pubDate></item><item><title>Re: MySQL: Increment an exisitng value</title><link>http://www.tech-recipes.com/rx/2139/mysql_increment_an_exisitng_value/#comment-4310931</link><description>&lt;p&gt;Super, just what I needed to know.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Android</dc:creator><pubDate>Wed, 10 Dec 2008 11:52:05 -0000</pubDate></item></channel></rss>