<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://techbank.jp/Community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>坊やがゆくtech</title><link>http://techbank.jp/Community/blogs/poohkid/default.aspx</link><description /><dc:language>ja-JP</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>バッチで日付計算をモジュール化</title><link>http://techbank.jp/Community/blogs/poohkid/archive/2010/04/27/26557.aspx</link><pubDate>Tue, 27 Apr 2010 12:27:00 GMT</pubDate><guid isPermaLink="false">39773940-6d77-4a2f-a2d2-773881b703e3:26557</guid><dc:creator>PoohKid</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/rsscomments.aspx?PostID=26557</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/commentapi.aspx?PostID=26557</wfw:comment><comments>http://techbank.jp/Community/blogs/poohkid/archive/2010/04/27/26557.aspx#comments</comments><description>WSHを使わなくてもバッチだけで前日や翌日など日付の操作を行えるバッチファイルです。 モジュール化しており環境変数を汚染することなく引数と%ERRORLEVEL%で値を受け渡します。 実装してるメソッドは以下の通りです。 todayメソッド yearメソッド monthメソッド dayメソッド isleapメソッド date2jdメソッド jd2dateメソッド adddayメソッド subdayメソッド 以下のメソッドは実装予定でしたが未実装になっております。 addyearsメソッド addmonthsメソッド...(&lt;a href="http://techbank.jp/Community/blogs/poohkid/archive/2010/04/27/26557.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://techbank.jp/Community/aggbug.aspx?PostID=26557" width="1" height="1"&gt;</description></item><item><title>トランザクションのネストと@@TRANCOUNTの関係、コミット／ロールバックについてまとめ</title><link>http://techbank.jp/Community/blogs/poohkid/archive/2009/12/09/23075.aspx</link><pubDate>Tue, 08 Dec 2009 16:35:00 GMT</pubDate><guid isPermaLink="false">39773940-6d77-4a2f-a2d2-773881b703e3:23075</guid><dc:creator>PoohKid</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/rsscomments.aspx?PostID=23075</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/commentapi.aspx?PostID=23075</wfw:comment><comments>http://techbank.jp/Community/blogs/poohkid/archive/2009/12/09/23075.aspx#comments</comments><description>Microsoft TechNet「トランザクションのネスト」にて簡潔に説明されているので引用させていただきます。 @@TRANCOUNTのカウント（ざっくり） BEGIN TRANSACTION ステートメントは @@TRANCOUNT を 1 ずつ増やします。 COMMIT TRANSACTION は @@TRANCOUNT を 1 ずつ減らします。 ROLLBACK TRANSACTION ステートメントは、ネストしたトランザクションがすべてロールバックされ、@@TRANCOUNT は 0 になります...(&lt;a href="http://techbank.jp/Community/blogs/poohkid/archive/2009/12/09/23075.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://techbank.jp/Community/aggbug.aspx?PostID=23075" width="1" height="1"&gt;</description></item><item><title>クエリ・エディタでもトランザクションを使おう</title><link>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/17/22676.aspx</link><pubDate>Mon, 16 Nov 2009 15:30:00 GMT</pubDate><guid isPermaLink="false">39773940-6d77-4a2f-a2d2-773881b703e3:22676</guid><dc:creator>PoohKid</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/rsscomments.aspx?PostID=22676</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/commentapi.aspx?PostID=22676</wfw:comment><comments>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/17/22676.aspx#comments</comments><description>SQL Server Management Studioのクエリ・エディタはちょっとしたSQLを試すのに便利ですね。 でも更新系のSQLをいきなり叩いて後悔したことありませんか？ クエリ・エディタではTransact-SQLコマンドを記述できるのでトランザクションを使わない手はありません♪ トランザクション開始(TRANでも可) BEGIN TRANSACTION ロールバック/コミット ROLLBACK TRANSACTION COMMIT TRANSACTION 現在の接続でアクティブなトランザクション数を返します...(&lt;a href="http://techbank.jp/Community/blogs/poohkid/archive/2009/11/17/22676.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://techbank.jp/Community/aggbug.aspx?PostID=22676" width="1" height="1"&gt;</description></item><item><title>TransactionScope中に例外が発生したのにロールバックされない</title><link>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/14/22591.aspx</link><pubDate>Fri, 13 Nov 2009 17:05:00 GMT</pubDate><guid isPermaLink="false">39773940-6d77-4a2f-a2d2-773881b703e3:22591</guid><dc:creator>PoohKid</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/rsscomments.aspx?PostID=22591</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/commentapi.aspx?PostID=22591</wfw:comment><comments>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/14/22591.aspx#comments</comments><description>using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SQLite; using System.Transactions; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { using (SQLiteConnection cnn = new SQLiteConnection...(&lt;a href="http://techbank.jp/Community/blogs/poohkid/archive/2009/11/14/22591.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://techbank.jp/Community/aggbug.aspx?PostID=22591" width="1" height="1"&gt;</description></item><item><title>【.NET】ゼロから5分でつくれるデータベースプログラミング【SQLite】</title><link>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/14/22590.aspx</link><pubDate>Fri, 13 Nov 2009 16:40:00 GMT</pubDate><guid isPermaLink="false">39773940-6d77-4a2f-a2d2-773881b703e3:22590</guid><dc:creator>PoohKid</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/rsscomments.aspx?PostID=22590</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/commentapi.aspx?PostID=22590</wfw:comment><comments>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/14/22590.aspx#comments</comments><description>※ただしVisualStudioはインストール済み ちょっとしたサンプルを作りたいときにデータベースエンジンを用意しないで済むので手軽です。 さらにオンメモリに展開するのでSQLiteファイルのパスを気にする必要もありません。 （その代わり揮発性ですが＾＾；） サンプル作成手順： System.Data.SQLite のサイトからインストーラをダウンロード インストール VisualStudioで新規コンソールアプリケーションを作成（デフォルトで可） インストール先のbinにあるdllを参照に追加 System...(&lt;a href="http://techbank.jp/Community/blogs/poohkid/archive/2009/11/14/22590.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://techbank.jp/Community/aggbug.aspx?PostID=22590" width="1" height="1"&gt;</description></item><item><title>はじめまして</title><link>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/11/22492.aspx</link><pubDate>Tue, 10 Nov 2009 15:01:00 GMT</pubDate><guid isPermaLink="false">39773940-6d77-4a2f-a2d2-773881b703e3:22492</guid><dc:creator>PoohKid</dc:creator><slash:comments>10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/rsscomments.aspx?PostID=22492</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://techbank.jp/Community/blogs/poohkid/commentapi.aspx?PostID=22492</wfw:comment><comments>http://techbank.jp/Community/blogs/poohkid/archive/2009/11/11/22492.aspx#comments</comments><description>縁あってこちらでブログを書くことになりましたPoohKidと申します。 けろ-みおさんご紹介いただきましてありがとうございます。 なんかハードル上がったようなｗ 正直なところ客観的に見て私のレベルは中の上（たぶん）。 スーパーなプログラマではありませんが現場ではそれなりに使えると言っていただけてるようです。 一言で表すなら 低いテンション、中ぐらいの能力。 ですので 過度な期待はしないでください。 内容は主に.NETの話題になる予定です。 フツーのプログラマが日々の疑問や悩みから得た物を普通に語れたらいいなと思います...(&lt;a href="http://techbank.jp/Community/blogs/poohkid/archive/2009/11/11/22492.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://techbank.jp/Community/aggbug.aspx?PostID=22492" width="1" height="1"&gt;</description></item></channel></rss>