Blog Post

SQL Server Support Blog
2 MIN READ

更新プログラム適用後、bcp.exe の出力メッセージが英語になる

KeiichiroTani's avatar
KeiichiroTani
Icon for Microsoft rankMicrosoft
Aug 18, 2025

English follows Japanese

 

こんにちは。SQL Server サポート チームです。

 

事象

日本語版の SQL Server をインストールし、利用している環境で、SQL Server へ更新プログラムを適用後、bcp.exe の出力メッセージが英語になる場合があります。

 

接続先インスタンスを誤った場合の例:

 

本事象は、ODBCドライバーの修正が含まれた更新プログラムを適用する場合、更新プログラムに含まれるODBCドライバーのインストーラーは各言語版ではなく英語版での提供となり、更新プログラムを適用時にODBCドライバーの日本語リソースファイルが削除されるために発生します。

 

対処策

SQL Server の更新プログラムを適用後、日本語リソースファイルを再配置します。再配置手順は以下の通りです。 

ODBC ドライバー(17.10.6.1)を例としてご説明します。 

 

日本語リソースファイルを再配置方法:

1) 以下のサイトにアクセスし、リリース番号 17.10.6.1 ODBC ドライバー(日本語) をダウンロードします。
ODBC Driver for SQL Server のダウンロード - ODBC Driver for SQL Server | Microsoft Learn

 

2) ダウンロードしたファイル(msodbcsql.msi) を任意のフォルダーに配置します。

    なお、後述の手順はC:\temp フォルダーにインストールしたインストーラーを配置した場合の例です。

 

3)  管理者権限でコマンドプロンプトを起動し、下記のコマンドを実行し、ダウンロードしたインストーラーを展開します。

  msiexec /a "C:\temp\msodbcsql.msi" /qb targetdir="C:\temp\msodbcsql_msi"



4) 展開したフォルダーにある msodbcsqlr17.rll を次の配置先のフォルダーにコピーします。

    ※ 配置先のフォルダー C:\Windows\System32\1041 が存在しない場合は、フォルダーを作成したうえで msodbcsqlr17.rll をコピーします。

   コピー元: C:\temp\msodbcsql_msi\Windows\System32\1041

   配置先: C:\Windows\System32\1041



5) bcp.exe の出力メッセージが日本語となるか確認します。

 

 

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

Hello, this is the SQL Server Support Team.


Issue

In environments where the Japanese version of SQL Server is installed and used, after applying an update to SQL Server, the output messages from bcp.exe may appear in English.

Example when connecting to the wrong instance:

 

This issue occurs when the update includes a fix for the ODBC driver. The installer for the ODBC driver included in the update is provided in English rather than in each localized language version. As a result, the Japanese resource file for the ODBC driver is deleted during the update process.

 

Resolution

After applying the SQL Server update, relocate the Japanese resource file.

The steps below explain how to do this using ODBC Driver version 17.10.6.1 as an example.

 

Steps to relocate the Japanese resource file:

1) Access the following site and download the ODBC Driver version 17.10.6.1 (Japanese version):
    Download ODBC Driver for SQL Server - ODBC Driver for SQL Server | Microsoft Learn

 

2) Place the downloaded file (msodbcsql.msi) in any folder.

    The following steps assume the installer is placed in the C:\temp folder.

 

3)  Open Command Prompt with administrator privileges and run the following command to extract the installer:

    msiexec /a "C:\temp\msodbcsql.msi" /qb targetdir="C:\temp\msodbcsql_msi"

 

4) Copy the msodbcsqlr17.rll file from the extracted folder to the following destination folder:

    If the destination folder C:\Windows\System32\1041 does not exist, create it before copying the file.

    Source : C:\temp\msodbcsql_msi\Windows\System32\1041

    Destination : C:\Windows\System32\1041

 

5) Confirm that the output messages from bcp.exe are displayed in Japanese.

 

 

Published Aug 18, 2025
Version 1.0
No CommentsBe the first to comment