<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>SQL Server</title><link>http://www.sqljp.com/satsuki/category/336.aspx</link><description>SQL Server について書くカテゴリです。</description><managingEditor>藤城 さつき</managingEditor><dc:language>ja-JP</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>藤城 さつき</dc:creator><title> IDENT_CURRENT を２つのトランザクションで同時実行したときに同じIDが取得されてしまう</title><link>http://sqljp.com/satsuki/archive/2007/11/19/24301.aspx</link><pubDate>Mon, 19 Nov 2007 10:21:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2007/11/19/24301.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/24301.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2007/11/19/24301.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/24301.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/24301.aspx</trackback:ping><description>&lt;P&gt;?IDENT_CURRENT を同時実行したときに一方のトランザクション側に、もう一方で取得したIDが&lt;BR&gt;入ってしまっている、と言うことがあった。(つまり両方とも同じID)&lt;BR&gt;&lt;BR&gt;1つのストアドプロシージャが同時に呼ばれて実行された時、トランザクションは異なるはずだが？&lt;BR&gt;と思って、&lt;A href="http://www.kslaboratory.com/blog/"&gt;重藤和明&lt;/A&gt;氏に聞いてみたところ、以下の参考URLを紹介して貰った。&lt;BR&gt;&lt;BR&gt;参考：&lt;A href="http://technet.microsoft.com/ja-jp/library/ms175098.aspx"&gt;http://technet.microsoft.com/ja-jp/library/ms175098.aspx&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;これによると、今回のようなケースの場合IDENT_CURRENTを使うと、このような事が起きる事&lt;BR&gt;は考えられるようだ。&lt;BR&gt;&lt;BR&gt;これの対策は無いかと検索していたところ、わんくま同盟のむらさんのブログを発見。&lt;BR&gt;&lt;A href="http://blogs.wankuma.com/mura/archive/2007/08/07/89246.aspx"&gt;http://blogs.wankuma.com/mura/archive/2007/08/07/89246.aspx&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;これによると、SCOPE_IDENTITIYを使うのが最善とあった。&lt;BR&gt;&lt;BR&gt;メモメモ。&lt;/P&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/24301.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>トリガの一時無効化と活性化</title><link>http://sqljp.com/satsuki/archive/2007/09/06/23978.aspx</link><pubDate>Thu, 06 Sep 2007 12:19:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2007/09/06/23978.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/23978.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2007/09/06/23978.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/23978.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/23978.aspx</trackback:ping><description>&lt;P&gt;覚え書。&lt;BR&gt;&lt;BR&gt;無効化：&lt;BR&gt;Alter table &amp;lt;テーブル名&amp;gt; disable trigger &amp;lt;トリガ名&amp;gt;&lt;BR&gt;&lt;BR&gt;再び元に戻す：&lt;BR&gt;Alter table &amp;lt;テーブル名&amp;gt; enable trigger &amp;lt;トリガ名&amp;gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/23978.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>SQL Server でイベントログを出力する</title><link>http://sqljp.com/satsuki/archive/2007/05/16/23265.aspx</link><pubDate>Wed, 16 May 2007 13:01:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2007/05/16/23265.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/23265.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2007/05/16/23265.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/23265.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/23265.aspx</trackback:ping><description>&lt;P&gt;覚え書き&lt;BR&gt;&lt;BR&gt;SQL Server でエラーの内容をログに出力したい・・・もっと細かくエラー内容出ないのかなぁと&lt;BR&gt;思っていたら、色々出せることを河端さんのBlogが検索に引っかかって発見！ｗ&lt;BR&gt;忘れないように覚え書き。&lt;BR&gt;&lt;BR&gt;&lt;A href="http://sqljp.com/yoshihirokawabata/articles/7118.aspx"&gt;http://sqljp.com/yoshihirokawabata/articles/7118.aspx&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;このリストは便利だなぁ。&lt;/P&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/23265.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>データベースの復元について</title><link>http://sqljp.com/satsuki/archive/2006/12/17/20256.aspx</link><pubDate>Sun, 17 Dec 2006 21:16:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2006/12/17/20256.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/20256.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2006/12/17/20256.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/20256.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/20256.aspx</trackback:ping><description>&lt;P&gt;覚え書き&lt;BR&gt;&lt;BR&gt;SQL Server の動作についての覚え書き&lt;BR&gt;&lt;BR&gt;テストデータなどを受け渡す時に、動作していたデータベースを動かす方法として、以下のようにいくつかの方法を指定されるけれど、どれが一番適切なのか。このあたりがあんまりよく分かっていないので、明確な理由が知りたいと思っている。&lt;BR&gt;・インポート&lt;BR&gt;・タスク→(バックアップから)復元&lt;BR&gt;・ファイルをアタッチ&lt;BR&gt;&lt;BR&gt;ちなみに、データのインポートで得たデータベースのコピーでは、IDENTITYは外れているが、復元の場合はIDENTITYはそのまま復元された。&lt;BR&gt;&lt;BR&gt;明確な記述があるサイトを探しちゅう。&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/20256.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>ストアドプロシージャの作成 基礎</title><link>http://sqljp.com/satsuki/archive/2006/12/07/20169.aspx</link><pubDate>Thu, 07 Dec 2006 11:22:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2006/12/07/20169.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/20169.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2006/12/07/20169.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/20169.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/20169.aspx</trackback:ping><description>覚え書き&lt;BR&gt;&lt;BR&gt;SQL 実践講座 ストアドプロシージャの作成&lt;BR&gt;&lt;A href="http://www.atmarkit.co.jp/fnetwork/rensai/sql20/sql1.html"&gt;http://www.atmarkit.co.jp/fnetwork/rensai/sql20/sql1.html&lt;/A&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/20169.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>ＭＣＡデータベース</title><link>http://sqljp.com/satsuki/archive/2005/01/20/7219.aspx</link><pubDate>Thu, 20 Jan 2005 23:54:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2005/01/20/7219.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/7219.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2005/01/20/7219.aspx#Feedback</comments><slash:comments>17</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/7219.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/7219.aspx</trackback:ping><description>&lt;P&gt;ちょっと前なんですが、ＭＣＡデータベースに合格しました。&lt;/P&gt;
&lt;P&gt;終わってみたら、勉強になったし、意外と楽しかったです(*^-^*)&lt;/P&gt;
&lt;P&gt;SQL Server を使い始めたのがちょうど1年位前でした。1年前にSQL Serverを使うまで、リレーショナルデータベース製品と言うものを一度も使用した事がありませんでした。DBというと、Betreave(こんな綴りだっけ･･･ビートリブ。)を使った事があるくらいでした。（まぁ、それもどーかと思いますが(笑)）&lt;BR&gt;何となく使い始めて、そのための勉強などは特にしないまま現在に至っていたので、体系的な学習はスキマを埋めてくれるような感じで充実感がありました。&lt;/P&gt;
&lt;P&gt;MCAデータベースの勉強をしていて驚いたことは、何も知らなかった初心者状態の私が、MCAデータベースの教科書に書いてある殆どのことを、SQL Serverを操作する過程の中から学べていた、と言うことでした。SQL Serverという製品はすごいなぁと改めて驚いてしまいました。&lt;/P&gt;
&lt;P&gt;まぁある意味それも災いして･･･最初は教科書をパラパラと見ると、何だか分かっているような気がして、なかなか身が入ららず一時は受験を辞めようかとまで思ったのですが(←根性なし(笑))、良い先輩に後押しをして貰って、ようやく年始に重い腰を上げ、最後のラストスパートをした後、無事受験をしてきました。&lt;/P&gt;
&lt;P&gt;次は70-229を受けてみたいな、と思うようになりました。でもきっと私には難しいんだろうな(笑)&lt;BR&gt;70-229についてのアドバイスいただけると嬉しいです。&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/7219.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>日経Windowsプロ</title><link>http://sqljp.com/satsuki/archive/2004/12/01/6405.aspx</link><pubDate>Wed, 01 Dec 2004 13:11:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2004/12/01/6405.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/6405.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2004/12/01/6405.aspx#Feedback</comments><slash:comments>15</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/6405.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/6405.aspx</trackback:ping><description>&lt;P&gt;うわぁああ～い、当たった～(*^-^*)ｖ&lt;/P&gt;
&lt;P&gt;TechEdの先着500名様プレゼントで、日経Windowsプロの１年間購読が当たりました！(ってこれ、言っていいんですよね？)&lt;/P&gt;
&lt;P&gt;で、早速読んだら、か、河端さんが載ってる！(@_@*)(笑)&lt;BR&gt;しかもかなり大きめの写真つき(@_@*)(笑)&lt;/P&gt;
&lt;P&gt;PASS Summit 2004 で河端さんがMicrosoftのSQL Serverの責任者の方に出された要望のお話をされています。&lt;/P&gt;
&lt;P&gt;･･･と書いていたら、タイムリーに河端さんのブログでも　&lt;A href="http://sqljp.com/yoshihirokawabata/archive/2004/12/01/6398.aspx"&gt;ご報告&lt;/A&gt;　が。&lt;BR&gt;詳しくはそちらで。&lt;/P&gt;
&lt;P&gt;SQL BOX、今の私の業務でも、あったらきっと選択する事があるだろうな、と思います。&lt;BR&gt;実現するといいな(*^-^*)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/6405.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>Oracleからのマイグレーション</title><link>http://sqljp.com/satsuki/archive/2004/10/15/4905.aspx</link><pubDate>Fri, 15 Oct 2004 00:32:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2004/10/15/4905.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/4905.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2004/10/15/4905.aspx#Feedback</comments><slash:comments>19</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/4905.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/4905.aspx</trackback:ping><description>&lt;P&gt;&lt;A href="http://sqljp.com/satsuki/archive/2004/10/05/4654.aspx"&gt;先日&lt;/A&gt;話のつづき。&lt;/P&gt;
&lt;P&gt;バージョンは、Oracle8 for Solaris sun Rel 8.0.3 だそうです。&lt;/P&gt;
&lt;P&gt;初Oracle。　かなりビクビク。&lt;/P&gt;
&lt;P&gt;11月から始まる &lt;A href="http://sqljp.com/afterschool/archive/2004/10/07/4716.aspx"&gt;松本崇博せんせぇの授業&lt;/A&gt;、絶対ちゃんと聞こう。&lt;/P&gt;
&lt;P&gt;ちなみに厚さ２０cm弱と聞いていた仕様書は２cmにも満たない厚さでやってきた･･･かなり抜粋されたのかな？メモに「かなり分かり難いしろものですが、格闘してくれ」とある(笑)&lt;BR&gt;管理プログラムらしきものは、Cで書かれているようでした。&lt;/P&gt;
&lt;P&gt;Oracleって付属の管理ツールとか一切ないのでしょうか？&lt;BR&gt;ODBC接続でデータ抽出とかって、プログラムを一本書かないといけないのかしら？&lt;/P&gt;
&lt;P&gt;なんか全然イメージがわきません(怖)&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/japan/technet/prodtechnol/sql/reskit/sql2000/part2/c0761.asp"&gt;長崎さんに紹介していただいたサイト&lt;/A&gt;をチェックしたら、対象者は「Oracle RDBMS の基礎をよく知っていること」になっていた！！(笑)&lt;/P&gt;
&lt;P&gt;うーん、一番遠いなぁ･･･(笑)&lt;BR&gt;うーん、大丈夫なのかなぁ？(笑)&lt;BR&gt;実際問題、何から手をつけていいのか、わからんにゃー(笑)←ぉぃ&lt;/P&gt;
&lt;P&gt;さて、このまま何とかなるのか･･･待て、次号(？)&lt;/P&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/4905.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>藤城 さつき</dc:creator><title>MSDE についての覚え書き</title><link>http://sqljp.com/satsuki/archive/2004/10/14/4895.aspx</link><pubDate>Thu, 14 Oct 2004 22:16:00 GMT</pubDate><guid>http://sqljp.com/satsuki/archive/2004/10/14/4895.aspx</guid><wfw:comment>http://sqljp.com/satsuki/comments/4895.aspx</wfw:comment><comments>http://sqljp.com/satsuki/archive/2004/10/14/4895.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://sqljp.com/satsuki/comments/commentRss/4895.aspx</wfw:commentRss><trackback:ping>http://sqljp.com/satsuki/services/trackbacks/4895.aspx</trackback:ping><description>&lt;A href="http://www.32key.com/cs/cs/msde.htm"&gt;http://www.32key.com/cs/cs/msde.htm&lt;/A&gt;&lt;img src ="http://sqljp.com/satsuki/aggbug/4895.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>
