SE の雑記

SQL Server の情報をメインに Microsoft 製品の勉強内容を日々投稿

各種ソフトのショートカット / 設定ファイル / チートシート

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

1月 19th, 2025 at 8:00 pm

Posted in その他

Tagged with

検証用 SQL Server に導入するツール

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

12月 8th, 2022 at 9:51 am

Posted in SQL Server

Tagged with

SQL Server のベストプラクティスについて公開されているドキュメント

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 15th, 2022 at 9:14 am

Posted in SQL Server

Tagged with

SQL Server Sample Databases

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

6月 16th, 2022 at 9:30 am

Posted in SQL Server

Tagged with

SQL Server-based environment updates

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 22nd, 2022 at 10:53 am

Tools and Documents for fault analysis in SQL Server-based environments

leave a comment

Tools and Documents for fault analysis in SQL Server-based environments.

Read the rest of this entry »

Written by Masayuki.Ozawa

7月 7th, 2021 at 11:02 am

SQL Server / SQL Database アーキテクチャ ドキュメント

leave a comment

Read the rest of this entry »

Written by Masayuki.Ozawa

1月 13th, 2020 at 11:36 pm

Posted in SQL Server

Tagged with

2026/03/02 時点では、Microsoft Agent 365 SDK の Python のクイックスタートを動かすだけであれば、OpenAI Agent SDK を使用したほうが楽だと思った件について

leave a comment

Microsoft Agent 365 SDK を使用して、Python で構築されたエージェントを展開する方法のクイックスタートとして、クイックスタート: Python Agent Framework サンプル エージェントの設定と実行 が公開されています。

このクイックスタートでは Agent Framework Sample Agent – Python が使用されていますが、2026/03/02 時点では、このサンプロを利用仕様とすると次のエラーが発生します。

uv run python start_with_generic_host.py
warning: The `tool.uv.dev-dependencies` field (used in `pyproject.toml`) is deprecated and will be removed in a future release; use `dependency-groups.dev` instead
???????????????????? [0/10] Installing wheels…                                                                                                                                                                                          warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `–link-mode=copy` to suppress this warning.
Installed 10 packages in 1.06s
Import error: cannot import name ‘ChatAgent’ from ‘agent_framework’ (D:\git\Agent365_QuickStart\agent365-agentframework-python_2\.venv\Lib\site-packages\agent_framework\__init__.py)
Please ensure you’re running from the correct directory

Read the rest of this entry »

Written by Masayuki.Ozawa

3月 2nd, 2026 at 9:11 am

Posted in Agent 365

Tagged with

Winodws Server の RFC 1323 TCP Timestamps Option

leave a comment

Windows Server の RFC 1323 TCP Timestamps Option について調査する機会があったので。

Read the rest of this entry »

Written by Masayuki.Ozawa

2月 18th, 2026 at 10:41 pm

Posted in Windows Server

Tagged with

Azure Local 12.2601 へのアップグレードに発生したエラーと解決として実行したコマンドについてのメモ

leave a comment

2026-02-02 に Azure Local 12.2601.1002.503 がリリースされました。

現在、私が使用している Azure Local の検証環境は以下の環境となります。

  • 実行環境: Nested Hyper-V
  • vCPU: 16 Core
  • Memory: 53,248 MB
  • OS ディスク × 1 (160 GB × 1)
  • データディスク × 5 (384 GB × 5)
  • Key Vault でローカル ID を使用した、シングルノードクラスターの Azure Local
    • AD を使用しない展開の構成

    この環境で、12.2512 -> 12.2601 にアップグレード (更新) をしようとしたところ、エラーが発生し更新を適用することができませんでした。

    SR を発行し、更新を行うところまでは対応できたのですが、その時の作業内容についてメモを残しておきたいと思います。

    Read the rest of this entry »

    Written by Masayuki.Ozawa

    2月 15th, 2026 at 9:11 pm

    Posted in Azure Local

    Tagged with

    SQL Server 2025 CU1 で Apple Silicon の Mac で Docker Desktop による SQL Server 2025 が動作するようになったようです

    leave a comment

    本ブログでは Ignite 2025 で SQL Server 2025 の一般提供が発表されました で触れていたのですが、SQL Server 2025 のリリース当初は Apple Silicon の Mac の Docker Desktop で SQL Server 2025 を動作させることができませんでした。

    関連する情報は Apple Silicon での動作について にリンクを記載していたのですが、Anthony Nocentino’s Blog が更新され、Docker Desktoip + SQL Server 2025 CU1 の組み合わせで動作したことについての記事が公開されました。

    SQL Server を動作させる代替としては、2022 のイメージを使用するか、OrbStack を使用するという方法がありましたが、SQL Server 2025 CU1 を使用することで、Docker Desktop で SQL Server を動作させることができるようになりました。

    Read the rest of this entry »

    Written by Masayuki.Ozawa

    2月 14th, 2026 at 11:36 am

    Posted in SQL Server 2025

    Tagged with

    SSMS 22.3.0 で Database Instructions がサポートされました

    leave a comment

    Announcing database instructions and a lot of fixes in SQL Server Management Studio 22.3 でアナウンスされましたが、SSMS 22.3.0 で Database Instractions (データベース指示 / 命令) のサポートが追加されました。

    ドキュメントは、Use database instructions with GitHub Copilot in SQL Server Management Studio (Preview) として公開されています。

    Read the rest of this entry »

    Written by Masayuki.Ozawa

    2月 12th, 2026 at 10:54 pm

    Posted in SSMS

    Tagged with

    SQL Server 2025 のフルテキスト検索の破壊的な変更についての情報

    leave a comment

    SQL Server 2025 の破壊的な変更 に次の内容があります。

    アップグレード後に Full-Text クエリとポピュレーションの処理が失敗する

    SQL Server 2025 では、フルテキスト検索の「ワードブレーカーとフィルター」のバージョンが 2 に変更されており、これに伴ういくつかの変更があり、影響を受ける内容が破壊的な変更とされています。

    この情報についてまとめておきたいと思います。

    Read the rest of this entry »

    Written by Masayuki.Ozawa

    2月 8th, 2026 at 10:12 pm

    Azure SQL Database 向けのエージェントスキル

    leave a comment

    Anna Hoffman の LinkedIn の投稿 で知ったのですが、 Azure SQL Database 向けのエージェント スキルを公開してくれたようです。

    GitHub Copilot + Claud Opus 4.5 を使用して作成された、次のドキュメントに基づいたスキルとなっているようです。

    インストールを行うと、GitHub Copilot 向けのスキルのディレクトリに、シンボリックリンクが作成されますので、GitHub Copilot CLI 等からも使用することができます。

    image

    Written by Masayuki.Ozawa

    2月 4th, 2026 at 10:19 pm

    Posted in SQL Database

    Tagged with

    SQL Server 2025 でベクター検索による RAG の実装の一環として Azure OpenAI の Response API を呼び出す

    leave a comment

    Microsoft_Learn 当ブログでは、SQL Server 2025 の新機能であるベクターデータについて投稿をしたことがあります。

    当ブログのポストデータは、SQL Server ベースの環境に保存していますので、Embedding の生成や Vector Search をブログのポストデータを使用して検証することができるような環境となっています。

    このデータを使用して RAG によるナレッジ検索を行える、次のようなアプリを Vibe Coding で作成しました。

    image

    このアプリでは、AI のモデル呼び出しはすべて T-SQL 側で実装しており、モデルの活用が必要の場合は sp_invoke_external_rest_endpoint を呼び出しています。

    RAG では LLM を使用して回答の整形を行いますが、この際、モデルの呼び出しに Completions ではなく、Respoinses API を使用してみたので、呼び出しについて情報を残しておきたいと思います。

    エンドポイントが違うだけで呼び出し方法に大きな差があるわけではありませんが。

    Read the rest of this entry »

    Written by Masayuki.Ozawa

    2月 4th, 2026 at 9:45 am

    Posted in 未分類

    SQL Server 2022 CU23 / SQL Server 2025 CU1 の再提供が開始されました

    leave a comment

    2026/1/15 に提供された、SQL Server 2022 CU23 / SQL Server 2025 CU1 ですが、適用後にデータベースメール (Database Mail) の機能で問題が発生する可能性があるため、提供が一時的に取り下げられていました。

    この問題の対応が完了したようで、更新プログラムの提供が再開されました。

    再提供後の、SQL Server 2022 CU23 / SQL Server 2025 CU1 でテストメールが配信できることは確認できたので、発生していた問題は解消されているようです。

    取り下げられる前の SQL Server 2022 CU23 は持っていなかったのですが、SQL Server 2025 CU1 は環境を持っていたため、次の状態になることも確認しています。

    • 取り下げ前の CU1: テストメール配信できない
    • 再提供後の CU1:テストメール配信ができる

    Written by Masayuki.Ozawa

    1月 30th, 2026 at 8:47 am

    Microsoft Agent 365 のエージェント ID の情報

    leave a comment

    Microsoft Agent 365 では「エージェント ID」(Microsoft Entra Agent ID) が構成要素の一つとなっています。

    Ignite 2025 Book of News では、次のように記載されています。

    エージェントの乱立を防ぎ、AIエージェントのアイデンティティとリソースへのアクセスを保護するエンタープライズグレードのソリューションであるAgent IDにより、組織は以下のことが可能になります:

    • エージェントの完全なインベントリを通じてAIエージェントを登録・管理し、新しいエージェントが組み込みのIDで作成され、組織のポリシーによって自動的に保護されるようにします。
    • エージェントのアイデンティティとライフサイクルを管理し、エージェントと、エージェントを作成・管理する人々の両方に、ライフサイクル管理とITが定義したガードレールを提供します。
    • エージェントのリソースへのアクセスを保護することで、侵害のリスクを低減し、リスクの高いエージェントをブロックし、条件付きアクセスやトラフィック検査によって悪意のあるリソースへのエージェントアクセスを防止します。

    Microsoft Entra エージェント ID パブリック プレビュー がエージェント ID / Agent 365 の紹介: エージェントのためのコントロール プレーン Microsoft Agent 365 のランディングページとなるかと思いますが、Microsoft Agent 365 の「レジストリ」「アクセス制御」といった機能の中にもエージェント ID は要素として含まれています。

    本ブログでも関連情報として次の投稿を作成しましたが、エージェント ID についてはどの辺の情報を見ればよいのかを列挙しておきたいと思います。

    Read the rest of this entry »

    Written by Masayuki.Ozawa

    1月 26th, 2026 at 9:38 am

    Posted in Agent 365,Agent ID

    Tagged with ,