LINQ to Objectで抽出と並び替え(List

clock August 27, 2008 15:14 by author
やっと最近LINQに触り始めて、今一番楽しいところなんで、自分がやってみたことをまとめていきたいと思います。 まぁ、まだまだこんなことができるんだぁ、と文法を追っているレベルなんで、たいしたことは書けないですが。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SQL Server 2008 RTM 版正式リリース

clock August 7, 2008 20:38 by author
SQL Server 2008 がRTM(製造段階,Release To Manufacturing)に移行され、MSDNとTechNet 会員に正式に提供されたとのこと。 MSDNを確認しましたが、今日(2008/08/07)の時点では英語版のみダウンロード可能になっています。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[HowTo]LINQ to XMLで抽出と並び替え

clock August 1, 2008 19:50 by author
LINQ to XMLということで、LINQはXML形式のデータを扱うこともできます。 たとえば次のようなプログラムで [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Microsoft SQL Server 2008 用 Feature Pack CTP - 2008 年 2 月が公開されています。

clock February 28, 2008 03:23 by author
Microsoft SQL Server 2008 用 Feature Pack CTP - 2008 年 2 月が公開されています。こちら。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[Tips]SQL Serverのデータ型と.NETのデータ型の対応

clock January 28, 2008 22:39 by author
SQL Serverのデータ型を.NETにマッピングする際の対応は以下表の通りです。 SQL Serverのデータ型と.NETのデータ型の対応 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[How To]Visual Studio 2005/2008のTableAdapterとSQLのIDENTITY

clock January 28, 2008 22:30 by author
SQL ServerのID生成について前回纏めさせて頂きました。その際、黒龍さんからVisual Studio のTableAdapterがSCOPE_IDENTITYを利用するSQL文を生成している事を教えて頂きました。 また前回はIDの取得について様々な方法を紹介しておきながら、OUTPUT句について一切触れておりませんでした。 そこで、TableAdapterとOUTPUT句を絡めて纏めてみたいと思います。 OUTPUT句 OUTPUT句はSQL Server 2005から追加された機能で、INSERT、UPDATE、DELETEの各ステートメントにより影響を受ける... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


ストアドプロシージャのパラメータとして配列を渡す

clock January 28, 2008 20:33 by author
次期SQL Server 2008ではストアドプロシージャやファンクションのパラメータにテーブル型を渡す事が出来る様になるらしいのですが、SQL Server 2005ではパラメータとしてテーブル型を渡す事は出来ません。 その結果、ListBoxやCheckBoxListで複数の値を選択してストアドプロシージャにパラメータを渡す際に困る事があります。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


【HowTo】【Tips】SQL Server 2005でネットワーク接続を有効にするには?

clock January 24, 2008 23:38 by author
SQL Server 2005(Express Editionを含む)では、セキュリティ強化のために初期状態ではネットワーク経由でのアクセス(ネットワーク接続あるいはリモート接続と呼ばれる)ができないようになっている。本稿ではこれを有効にするための以下の3つの手順について解説する。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[Tips]エラーの抽象化は難しいのは解るけどさ

clock January 19, 2008 22:11 by author
System.Data.SqlClient, System.Data.OdbcClient, System.Data.OleDbの各DbConnection実装におけるInfoMessage のばらばら具合は何とかならんもんなのでしょうかねぇ。 [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[How To] SQLCLR でファックス送信(FAXCOM)する

clock January 16, 2008 23:53 by author
SQLCLR でファックス送信(FAXCOM)する [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


LINQ 関連データを1回のアクセスで収得する

clock January 16, 2008 04:47 by author
1. LINQ to SQL クラスを追加し、テーブルを追加する。 2. 関連付けを行う。Participating Properties:Table_1.ID -> Table_3.ID using System; using System.Linq; using System.Data.Linq; using System.IO; namespace ConsoleApplication5 {     class Program     {    &n... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SQL,ORACLE,SQLSERVER,ADO.NET ,TIPS

clock October 26, 2007 22:36 by author
SQL,ORACLE,SQLSERVER,ADO.NET ,TIPS [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


[How To] ASP.NET2.0 SqlServer CSV出力

clock October 15, 2007 21:19 by author
[How To] ASP.NET2.0 CSV出力  ASP.NET2.0でSQL-ServerデータベースをCSV出力するコード例 Response.Clear(); Response.ClearContent(); Response.ClearHeaders(); Response.AddHeader("Content-Disposition", "attachment;filename=テスト.csv"); Response.ContentType = "application/octet-s... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SQL TIPS

clock October 12, 2007 08:13 by author
オートナンバー型のメンバーを持つテーブルを作成する   Jet(MS Access)の場合,AUTOINCREMENTまたは,COUNTER (1,1)を指定する MS SQL Serverの場合は, smallint AUTO_INCREMENTもしくは, smallint IDENTITY (1, 1)のように指定する(#(1, 1)は,(初期値,増加数)) CREATE TABLE ほげ (ID AUTOINCREMENT PRIMARY KEY, NAME VARCHAR(50)) レコードの中から,最大値を得る Sele... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


【HowTo】【SQL Server】 SQL Server 2000 サーバ名を変更する

clock October 1, 2007 23:20 by author
use master go sp_dropserver OldServerName go sp_addserver NewServerName, [ local or Remote ] go

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Search

Calendar

<<  January 2009  >>
SuMoTuWeThFrSa
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

Archive

Tags

Categories


Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2009

    Sign in