<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>It&apos;s a Smile World</title>
        <link>http://2-laps.com/mt/</link>
        <description>ウェブ制作会社で働きながら、まちづくりNPOの副代表もやってます。</description>
        <language>ja</language>
        <copyright>Copyright 2010</copyright>
        <lastBuildDate>Tue, 25 May 2010 22:24:31 +0900</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <item>
            <title>【書評】告白</title>
            <description><![CDATA[<div>告白</div><a href="http://www.amazon.co.jp/%E5%91%8A%E7%99%BD-%E5%8F%8C%E8%91%89%E6%96%87%E5%BA%AB-%E3%81%BF-21-1/dp/457551344X/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1274513786&amp;sr=8-1" style="text-decoration: underline; "><img src="http://ec2.images-amazon.com/images/I/41k4CmwKEcL._SL150_.jpg" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-style: initial; border-color: initial; " /></a><div><br /></div><div>来月映画化される小説。</div><div><a href="http://kokuhaku-shimasu.jp/index.html" style="text-decoration: underline; " target="_blank">http://kokuhaku-shimasu.jp/index.html</a></div><div><br /></div><div><br /></div><div>「娘はこのクラスの生徒に殺された」との告白から物語が始まり、娘を殺された先生、犯人の少年A、少年B、少年Bの母親の各それぞれの視点から物語を描いています。</div><div><br /></div><div>ほんと、どんでん返しどんでん返し、さらにどんでん返し、そして最後に大どんでん返し。って感じで、先が読めない展開で、どんどんページが進んでいきました。</div><div><br /></div><div>ほんと、面白かった。</div><div><br /></div><div>映画も絶対見に行こう。</div><div><br /></div><div><br /></div> ]]></description>
            <link>http://2-laps.com/mt/2010/05/post-70.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/05/post-70.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">書評</category>
            
            <pubDate>Tue, 25 May 2010 22:24:31 +0900</pubDate>
        </item>
        
        <item>
            <title>今日のお買い上げ</title>
            <description><![CDATA[今日買った本。<div><br /></div><div>告白</div><a href="http://www.amazon.co.jp/%E5%91%8A%E7%99%BD-%E5%8F%8C%E8%91%89%E6%96%87%E5%BA%AB-%E3%81%BF-21-1/dp/457551344X/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1274513786&amp;sr=8-1"><img src="http://ec2.images-amazon.com/images/I/41k4CmwKEcL._SL150_.jpg" /></a><div><br /></div><div>来月映画化される小説。</div><div><a href="http://kokuhaku-shimasu.jp/index.html">http://kokuhaku-shimasu.jp/index.html</a></div><div><br /></div><div>WEBで予告編見てみたら、すごく面白かったので、買ってしまいました。</div><div>小説を買うのは久しぶり。</div><div><br /></div><div><br /></div><div>成果を生む人が実行している朝9時前のルール&nbsp;</div><a href="http://www.amazon.co.jp/%E6%88%90%E6%9E%9C%E3%82%92%E7%94%9F%E3%82%80%E4%BA%BA%E3%81%8C%E5%AE%9F%E8%A1%8C%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E6%9C%9D9%E6%99%82%E5%89%8D%E3%81%AE%E3%83%AB%E3%83%BC%E3%83%AB-%E7%BE%8E%E5%B4%8E-%E6%A0%84%E4%B8%80%E9%83%8E/dp/4479792910/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1274513674&amp;sr=8-1"><img src="http://ec2.images-amazon.com/images/I/51EtgoUN8LL._SL150_.jpg" /></a><div><br /></div><div><br /></div><div>さらっと本屋で立ち読みしてみたら、なかなか良さそうだったので購入。</div><div>セルフブランディングの方法等が書かれています。</div><div><br /></div><div><br /></div><div>最近、通勤の電車の中でXperiaばっかいじってたので、そろそろ読書再開しようかな。</div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/05/post-69.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/05/post-69.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">日記</category>
            
            <pubDate>Sat, 22 May 2010 16:35:45 +0900</pubDate>
        </item>
        
        <item>
            <title>【Java】static finalを使用するときに注意すること</title>
            <description><![CDATA[参照：<a href="http://www.glamenv-septzen.net/view/290">http://www.glamenv-septzen.net/view/290</a><div><br /></div><div>上記記事に、書いてありますが、static finalで宣言された定数を変更する際、</div><div>参照側のクラスも再コンパイルしないと、反映されないみたいです。</div><div><br /></div><div>このせいで、みんなでかなり悩みました。</div><div><br /></div><div>static finalで宣言する定数は、変更の可能性が極力低いものにするべきですね。</div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/05/javastatic-final.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/05/javastatic-final.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Java</category>
            
            <pubDate>Fri, 21 May 2010 10:38:01 +0900</pubDate>
        </item>
        
        <item>
            <title>【NPO】若松団地に図書館を</title>
            <description><![CDATA[若松団地に新たに図書館を設立することになりました。<div>ってことで、告知ページ作りました。</div><div><br /></div><div><a href="http://infosta.org/wakamatsu.html"><img alt="wakamatsu.jpg" src="http://2-laps.com/mt/2010/05/19/wakamatsu.jpg" width="400" height="214" class="mt-image-center" style="text-align: center; display: block; margin: 0 auto 20px;" /></a><div><a href="http://infosta.org/wakamatsu.html">http://infosta.org/wakamatsu.html</a></div><div><br /></div><div>本の寄贈と、ボランティア募集は随時募集してます。</div><div><br /></div><div><br /></div><div>最近、週末はもっぱらコーディングだな、、</div><div>先日買った、CSSの本だいぶ役に立ってる。</div><div><br /></div></div><div style="z-index: -1; position:absolute; top:0px; left: 0px; width: 100%; height: 404px;"></div>]]></description>
            <link>http://2-laps.com/mt/2010/05/npo.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/05/npo.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">NPO</category>
            
            <pubDate>Wed, 19 May 2010 01:48:33 +0900</pubDate>
        </item>
        
        <item>
            <title>最近買った本</title>
            <description><![CDATA[最近買った本です。<div><br /></div><div>1.<a href="http://www.amazon.co.jp/Movable-Type-5%E5%AE%9F%E8%B7%B5%E3%83%86%E3%82%AF%E3%83%8B%E3%83%83%E3%82%AF-%E8%92%B2%E7%94%9F-%E3%83%88%E3%82%B7%E3%83%92%E3%83%AD/dp/4797358831/ref=sr_1_8?ie=UTF8&amp;s=books&amp;qid=1273661007&amp;sr=8-8">Movable Type5 実践テクニック</a></div><div><br /></div><img src="http://ec3.images-amazon.com/images/I/51AncnQcYPL._BO2,TopRight,35,-76_AA150_.jpg" />
<div><br /></div><div>MT5をちょっと勉強したいなーって思い、購入しました。</div><div>NPOのサイトを今、MT5で構築中です。</div><div>カスタマイズ方法が丁寧に載ってて、勉強し始めにはもってこいの書籍です。</div><div>いろいろと、一段落したらこのブログもMT5で構築しなおそうかと。</div><div><br /></div><div><br /></div><div>2.<a href="http://www.amazon.co.jp/%E3%82%AC%E3%83%AC%E3%83%AA%E3%82%A2CSS-%E3%83%97%E3%83%AD%E3%81%AB%E5%AD%A6%E3%81%B6%E3%82%B9%E3%82%BF%E3%82%A4%E3%83%AB%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AE%E5%AE%9A%E7%95%AA%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3-%E6%9E%97-%E5%A4%A7%E8%BC%94/dp/4797355816/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1273661368&amp;sr=1-1">ガリレアCSS</a></div><div><br /></div><img src="http://ecx.images-amazon.com/images/I/51ajcJwttPL._BO2,204,203,TopRight,35,-76_AA150_SH20_OU09_.jpg" /><div><br /></div><div>本屋でたまたま見つけて、良さそうなので購入。</div><div>ちょっと難しそうなCSSテクニックがたくさん載ってて便利。</div><div>リファレンス的に使ってます。</div><div><br /></div><div>3.<a href="http://www.amazon.co.jp/Progression%E3%81%AB%E3%82%88%E3%82%8BFlash%E3%82%B3%E3%83%B3%E3%83%86%E3%83%B3%E3%83%84%E9%96%8B%E7%99%BA%E3%82%AC%E3%82%A4%E3%83%89%E3%83%96%E3%83%83%E3%82%AF-%E9%98%BF%E9%83%A8%E8%B2%B4%E5%BC%98/dp/4839931798/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1273661614&amp;sr=1-1">ProgressionによるFlashコンテンツ開発ガイドブック</a></div><div><br /></div><img src="http://ec3.images-amazon.com/images/I/41bpo2of4pL._SL500_AA150_.jpg" /><div><br /></div><div>Flashのフレームワーク「Progression4」のガイドブック。</div><div>正直、まだかじり程度しか試してないけど、結構便利そう。</div><div>これをマスターすればFLASHの開発は結構楽になりそうなので、早くマスターできるように日々勉強中です。</div><div><br /></div><div><br /></div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/05/post-68.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/05/post-68.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">本</category>
            
            <pubDate>Wed, 12 May 2010 19:44:03 +0900</pubDate>
        </item>
        
        <item>
            <title>名探偵コナン 天空の難破船〈ロスト・シップ〉</title>
            <description><![CDATA[<span class="mt-enclosure mt-enclosure-image"><img alt="conan.jpg" src="http://2-laps.com/mt/2010/05/04/conan.jpg" width="391" height="219" class="mt-image-center" style="text-align: center; display: block; margin: 0 auto 20px;" /></span><div><br /></div><div>コナンを見てきた。</div><div>このアニメは、子供から大人まで楽しめるから好き。</div><div><br /></div><div>夕方にいったのだけれども、映画館内はほとんど大人だった。</div><div><br /></div><div>映画見て、思ったんだけど、あがさ博士は天才だな！！</div><div>発明品がハンパない。</div><div>博士がいなかったら、コナンはとっくに死んでるよ。</div><div><br /></div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/05/post-67.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/05/post-67.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">映画</category>
            
            <pubDate>Tue, 04 May 2010 20:57:16 +0900</pubDate>
        </item>
        
        <item>
            <title>リモートデスクトップ再起動方法</title>
            <description><![CDATA[<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'MS PGothic'; font-size: medium; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; height: 90%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); position: relative; color: rgb(51, 51, 51); font: normal normal normal 13px/normal arial, helvetica, hirakakupro-w3, osaka, 'ms pgothic', sans-serif; background-position: initial initial; background-repeat: initial initial; ">リモートデスクトップで別のPCにつないでるとき、リモート先のPCを再起動できないのが、不便だなーと思ってたら、実は出来ることを今さら知った。<div><br /></div><div>通常は、[Ctrl+Alt+Delete]で再起動したりするんですが、リモートでつないでいてもそれだとローカルのPC上で動いてしまいます。</div><div>リモート先でそれを、実行したいなら、[Ctrl+Alt+End]を打てばいいみたいです。</div><div><br /></div><div>そしたら、無事に再起動できた。</div><div><br /></div><div>さて、仕事でもするか。</div></div></span> ]]></description>
            <link>http://2-laps.com/mt/2010/04/post-66.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/04/post-66.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">windows</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">日記</category>
            
            <pubDate>Sat, 17 Apr 2010 16:47:20 +0900</pubDate>
        </item>
        
        <item>
            <title>【jQuery】バーコード生成プラグイン</title>
            <description><![CDATA[jQueryでバーコードを生成出来るプラグインが紹介されています。<div><a href="http://barcode-coder.com/en/barcode-jquery-plugin-201.html">http://barcode-coder.com/en/barcode-jquery-plugin-201.html</a></div><div><br /></div><div>これは、ちょっと使えるな。</div><div>ちゃんとリーダーで読めるか心配だけど…。</div><div>こんど、試してみよう。</div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/02/jquery-7.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/jquery-7.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">jQuery</category>
            
            <pubDate>Fri, 26 Feb 2010 14:26:09 +0900</pubDate>
        </item>
        
        <item>
            <title>地域SNS事例集</title>
            <description><![CDATA[全国の地域SNSの事例が公開されてます。<div><a href="http://www.glocom.ac.jp/project/chiiki-sns/LocalSNS20100216.pdf">http://www.glocom.ac.jp/project/chiiki-sns/LocalSNS20100216.pdf</a></div><div><br /></div><div>2010年2月時点で、日本国内で519事例あるみたいです。</div><div>結構あるな。</div><div><br /></div><div>千葉県だけで見ると15事例。</div><div><br /></div><div>市川、松戸、浦安とかあるけど、船橋ないな。</div><div>作っちゃうか。</div>]]></description>
            <link>http://2-laps.com/mt/2010/02/sns-1.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/sns-1.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">日記</category>
            
            <pubDate>Wed, 17 Feb 2010 18:09:14 +0900</pubDate>
        </item>
        
        <item>
            <title>すごいインパクトのあるサイト[北山創造研究所]</title>
            <description><![CDATA[<a href="http://www.kitasou.com/" target="_blank"><img alt="kita.jpg" src="http://2-laps.com/mt/2010/02/10/kita.jpg" width="400" height="240" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><a href="http://www.kitasou.com/">http://www.kitasou.com/</a></div><div><br /></div><div>冒頭で、テキストがずらーっとでてきて、ちょっと怖くなるくらいのすごいインパクト。</div><div>ついつい、見入ってしまいました。</div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/02/post-65.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/post-65.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">web</category>
            
            <pubDate>Wed, 10 Feb 2010 13:44:46 +0900</pubDate>
        </item>
        
        <item>
            <title>地域SNS全国フォーラム</title>
            <description><![CDATA[<div>[第６回　地域SNS全国フォーラム in 千葉]</div><div><a href="http://forum.local-socio.net/">http://forum.local-socio.net/</a></div><div><br /></div>今年は千葉でやるので、参加してきます。<div><br /></div><div>プログラムは以下、</div><div><a href="http://forum.local-socio.net/2010/01/post-2.html">http://forum.local-socio.net/2010/01/post-2.html</a></div><div><br /></div><div>地域SNSの現状と、今後についてやノウハウ等を学んできます。</div><div><br /></div><div><br /></div><div>フォーラム後には懇親会もあるらしいので、ちょっと楽しみ。</div><div>いろいろと人脈広げないとな。</div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/02/sns.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/sns.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">NPO</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">日記</category>
            
            <pubDate>Tue, 09 Feb 2010 18:33:46 +0900</pubDate>
        </item>
        
        <item>
            <title>【jQuery】jQueryからGoogleMapを扱う</title>
            <description><![CDATA[<div>jQueryからGoogleMapを扱えるプラグインが紹介されてました。↓</div><div><a href="http://www.ideaxidea.com/archives/2010/02/jquery_gmap.html">http://www.ideaxidea.com/archives/2010/02/jquery_gmap.html</a></div><div><br /></div><div><br /></div><div>このプラグインを使えば、</div><div><br /></div><div>$("#map").gMap();</div><div><br /></div><div>たった一行で、GoogleMapを表示することができる。</div><div>これは、便利だな。</div><div><br /></div>]]></description>
            <link>http://2-laps.com/mt/2010/02/jqueryjquerygooglemap.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/jqueryjquerygooglemap.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Google</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">jQuery</category>
            
            <pubDate>Fri, 05 Feb 2010 14:41:41 +0900</pubDate>
        </item>
        
        <item>
            <title>Flashのフレームワーク「Progression」</title>
            <description><![CDATA[最近NPOのシステム開発で、PHPのフレームワーク「CakePHP」を使っているのですが、Flash開発のフレームワークってないのかなーと探してみたら、やっぱありましたね。<div><br /></div><div><a href="http://progression.jp/ja/">Progression</a></div><div><br /></div><div>全然知らなかったけど、けっこう有名みたい。</div><div>時間があるときにでも、使ってみよう。</div><div><br /></div><div>とりあえず、情報集め。</div><div>以下のサイトが参考になりそう。</div><div><br /></div><div>■<a href="http://gihyo.jp/dev/feature/01/progression">Flashのフレームワーク「Progression3」を始めてみよう！</a></div><div>Progressionの導入から、サイト制作までのチュートリアルが紹介されています。</div><div><br /></div><div>■<a href="http://progression.jp/ja/doc/">Progression公式ドキュメント</a></div><div>公式ページです</div>]]></description>
            <link>http://2-laps.com/mt/2010/02/flashprogression.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/flashprogression.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Flash</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Progression</category>
            
            <pubDate>Wed, 03 Feb 2010 10:59:13 +0900</pubDate>
        </item>
        
        <item>
            <title>【書評】任天堂 “驚き”を生む方程式</title>
            <description><![CDATA[<a href="http://www.amazon.co.jp/%E4%BB%BB%E5%A4%A9%E5%A0%82-%E2%80%9C%E9%A9%9A%E3%81%8D%E2%80%9D%E3%82%92%E7%94%9F%E3%82%80%E6%96%B9%E7%A8%8B%E5%BC%8F-%E4%BA%95%E4%B8%8A-%E7%90%86/dp/4532314631/ref=sr_1_5?ie=UTF8&amp;s=books&amp;qid=1265088319&amp;sr=8-5" target="_blank"><img src="http://ec3.images-amazon.com/images/I/41uUAysuMrL._BO2,_AA200_.jpg" /></a><div><br /></div><div><br /></div><div><br /></div><div>任天堂の歴史がわかる本です。</div><div>京都の小さな会社が、世界企業に発展するまでの軌跡が細かく書いてあります。</div><div>任天堂という会社を支えてきた人々、会社の理念や思い、なぜここまで成長できたのか。</div><div><br /></div><div>ゲーム人口拡大という目標を掲げ、成功した現社長の岩田氏。</div><div>感が鋭い、前社長の山内氏。</div><div>世界的ゲームクリエーターの宮本氏。</div><div>彼らの、娯楽に対する思いが、読んでて伝わりました。</div><div><br /></div><div>成功する会社っていうのは、こういう所が違うんだなーって感じた著書でした。</div>]]></description>
            <link>http://2-laps.com/mt/2010/02/post-64.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/post-64.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">書評</category>
            
            <pubDate>Tue, 02 Feb 2010 14:24:52 +0900</pubDate>
        </item>
        
        <item>
            <title>【MySQL】INSERT文が重複キーがあるとUPDATEになる</title>
            <description><![CDATA[MySQLで<span class="Apple-style-span" style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px; ">ON DUPLICATE KEY UPDATEという、便利な構文を見つけた。</span><div><span class="Apple-style-span" style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px; "><br /></span></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;">書き方は、以下</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;">--------------------------------</span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">INSERT&nbsp;INTO&nbsp;hoge(</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">　id,</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">　name</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">)VALUES&nbsp;(</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">　　1,</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">　　'smile'</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">)&nbsp;ON&nbsp;DUPLICATE&nbsp;KEY</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">UPDATE</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; ">　　name='world';</span></span></font></div><div><font class="Apple-style-span" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 14px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); line-height: normal; "><span class="Apple-style-span" style="font-family: arial, helvetica, hirakakupro-w3, osaka, 'ms pgothic', sans-serif; font-size: 13px; color: rgb(51, 51, 51); "><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; ">--------------------------------</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; "><br /></span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; ">どのように便利かというと、上記のばあい、idというカラムがプライマリーキーだとして、</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; ">テーブルにid=1のレコードが入っていなければ、INSERTして、入っていれば、nameカラムを</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;">UPDATEしてくれる。</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;">つまり、INSERT文とUPDATE文が一つのSQLで書けるのだ。</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;"><br /></span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;">これは、便利。</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;">SQLもだいぶ書けるようになったと思ったけど、まだまだ知らないことが多いなー。</span></font></div><div><font class="Apple-style-span" color="#000000" face="Verdana, Helvetica, Arial, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;"><br /></span></font></div></span></span></span></font></div>]]></description>
            <link>http://2-laps.com/mt/2010/02/mysqlinsertupdate.html</link>
        <author>Keisuke</author>
            <guid>http://2-laps.com/mt/2010/02/mysqlinsertupdate.html</guid>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">MySQL</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">SQL</category>
            
            <pubDate>Tue, 02 Feb 2010 01:40:39 +0900</pubDate>
        </item>
        
    </channel>
</rss>
