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

GitHub Copilot CLI による Vibe Coding を使用した SSMS から安全にクエリを実行するための補助をする拡張機能作成の概念検証

leave a comment

SSMS から任意のクエリを実行できるようにしている環境では、他の処理の同時実行性に影響を与えるクエリの実行が行われる可能性があります。(SSMS 以外のツールを使用している場合でも発生する可能性はありますが)

SSMS 拡張機能を作成する際の参考ドキュメント で触れましたが、SSMS には拡張機能という仕組みがあり、この機能を使用することで SSMS に追加の機能を実装することができます。

この機能追加により、SSMS からのクエリ実行の安全性を向上させることができるのではないかと考えました。

そこで GitHub Copilot CLI による Vibe Coding を使用して SSMS からのクエリ実行に関して、安全にクエリを実行するための補助をする拡張機能の作成の概念検証 (Proof of Concept: PoC) に取り組んでみましたので、その際の知見をまとめておきたいと思います。

GitHub Copilot CLI についてのドキュメントは以下を参照。

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 16th, 2025 at 10:38 pm

SQL Database で読み取り可能なセカンダリレプリカに対してのクエリストアが使用できるようになっていました

leave a comment

先日気づいたのですが、SQL Database で 読み取り可能なセカンダリレプリカに対してのクエリストア が使用できるようになっていました。

アップデートのアナウンスは見当たらなかったのですが、本機能についての情報を整理しておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 16th, 2025 at 7:11 pm

Posted in SQL Database

Tagged with

SQL Server Management Studio 22 の一般提供が開始されました

leave a comment

SQL Server Management Studio (SSMS) 22 GA is now available でアナウンスされましたが、SQL Server Management Studio 22 (SSMS 22) の一般提供が開始されました。先日 Preview 5 のアナウンス があったばかりなのですが、この短期間で GA するのは珍しいパターンですね。

image

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

フィードバック も用意されていますので、要望 / 問題についてはこちらから提起することができます。

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 12th, 2025 at 10:50 pm

Posted in SQL Server

Tagged with

Azure Local の評価期間終了後のコストについて

leave a comment

12.2504.1001.20 以降の請求の変更 に記載されている内容となりますが、実際にコスト計上されだしたらどのようになるかをまとめていなかったので、評価期間切れが近い環境を使用してまとめてみました。

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 9th, 2025 at 9:58 am

Posted in Azure Local

Tagged with

Azure Local 2510 で AD を使用しない構築を検証した際のメモ (2025/11/06 時点)

leave a comment

仮想環境を使用して、AD を使用しない Azure Local の構築をした際のメモを。

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 6th, 2025 at 8:01 pm

Posted in Azure Local

Tagged with

Windows Server 2025 で WAC の VM 変換の VMware Tools のアンインストールを実行する

leave a comment

Windows Admin Center を使用した VMware の仮想マシンの移行 で投稿しましたが、Windows Admin Center (WAC) で VMware の仮想マシンを Hyper-V に移行する機能が提供されています。

1.8.0 の新機能として、Windows VM で VMware Tools のバッチアンインストールの機能が追加されたのですが、この機能が Windows Server 2025 で動作しなかったので、原因を調べてみました。

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 5th, 2025 at 8:52 pm

Azure SQL Database の DoSGuard の情報について

leave a comment

Azure SQL Database には、標準で「DoSGuard」という、サービス拒否 (Denial of Service: DoS) 攻撃を軽減する仕組みが組み込まれています。

機能の ON/OFF の制御はないため、既定で動作する機能となりますが、この DoSGuard についての情報と基本的な動作をまとめておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

11月 5th, 2025 at 7:08 pm

Posted in SQL Database

Tagged with

SQL Server でロックのメモリを解放する

leave a comment

SQL Server ベースの環境でロックのメモリが大量に確保されてしまった場合に、どのようにすれば解放できるかについての投稿となります。

内容としては次の KB に記載されているものとなります。

KB2754301 – FIX: Large queries that modify data run slower than expected when many locks accumulate in a SQL Server 2008 R2 or in SQL Server 2012

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 22nd, 2025 at 11:02 pm

Posted in SQL Server

Tagged with

SSMS 22 Preview 3 がリリースされ GitHub Copilot がサポートされました

leave a comment

本日、SQL Server Management Studio (SSMS) 22 Preview 3 がリリースされ、SSMS で GitHub Copilot のサポートが使用できるようになりました。

SSMS 22 Preview 3 は こちら からダウンロードすることができます。

SSMS 21 で導入された、Azure OpenAI ベースの Copilot は SSMS 21 で廃止となり、SSMS 22 からは GitHub Copilot が使用されることがアナウンスされていました。

SSMS 22 の Preview リリース当初は GitHub Copilot の実装は行われていなかったのですが、Preview 3 となり実際に使用することができるようになりました。

SSMS 22 Preview 3 をインストールする際に「AI アシスタンス」を追加することで SSMS 22 で GitHub Copilot が使用できるようになります。

image

GitHub Copilot の機能については、SQL Server Management Studio (プレビュー) の GitHub Copilot とは で確認することができます。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 15th, 2025 at 9:28 am

Posted in SQL Server

Tagged with

SSMS 拡張機能を作成する際の参考ドキュメント

leave a comment

最近、GitHub Copilot CLI を活用して、SQL Server Management Studio (SSMS) 拡張機能 (Extension) を作成できるのかを検証していました。

まだ実装を進めているのですが、Copilot CLI を使用して、SSMS 21 向けに拡張機能を作成することは実現でき始めています。
(スキーリゾート管理システム – マイクロサービスアーキテクチャ の Instruction.txt を参考にスペック駆動開発で進めています)

image

SSMS 拡張機能を作成する際に参考となる情報をまとめておきたいと思います。

Read the rest of this entry »

Written by Masayuki.Ozawa

10月 14th, 2025 at 9:55 am

Posted in SQL Server

Tagged with