トレースからのスクリプトの抽出 (SQL Server Profiler)Extract a Script from a Trace (SQL Server Profiler)
SQL Server
Azure SQL Database
Azure Synapse Analytics (SQL DW)
Parallel Data Warehouse
SQL Server
Azure SQL Database
Azure Synapse Analytics (SQL DW)
Parallel Data Warehouse
このトピックでは、トレース ファイルまたはテーブルから Transact-SQLTransact-SQL イベントを抽出し、 Transact-SQLTransact-SQL を使用して SQL Server プロファイラーSQL Server Profilerスクリプト ファイルとして保存する方法について説明します。This topic describes how to extract Transact-SQLTransact-SQL events from a trace file or table and save them as a Transact-SQLTransact-SQL script file by using SQL Server プロファイラーSQL Server Profiler.
トレース ファイルまたはテーブルから Transact-SQL スクリプトを抽出するにはTo extract a Transact-SQL script from a trace file or table
Transact-SQLTransact-SQL スクリプト ファイルに保存する Transact-SQLTransact-SQL イベントが含まれているトレース ファイルまたはテーブルを開きます。Open a trace file or table that contains Transact-SQLTransact-SQL events that you want to save to a Transact-SQLTransact-SQL script file. 詳細については、「 トレース ファイルを開く (SQL Server Profiler) や トレース テーブルを開く (SQL Server Profiler)に付属の定義済みチューニング テンプレートを使用します。For more information, see Open a Trace File (SQL Server Profiler) or Open a Trace Table (SQL Server Profiler).
[ファイル] メニューで [エクスポート] 、 [SQL Server イベントの抽出] の順にポイントし、 [Transact-SQL イベントの抽出] をクリックします。On the File menu, point to Export, point to Extract SQL Server Events, and then click Extract Transact-SQL Events.
[名前を付けて保存] ダイアログ ボックスで、 Transact-SQLTransact-SQL ファイルの名前を入力し、 [保存] をクリックします。In the Save As dialog box, type a name for the Transact-SQLTransact-SQL file, and click Save.
参照See Also
フィードバック
フィードバックを読み込んでいます...