How to: Save Trace Results to a Table (SQL Server Profiler)

W tym temacie opisano sposób zapisać wyniki śledzenia do tabela bazy danych przy użyciu SQL Server Profiler.

Aby zapisać wyniki śledzenia do tabela

  1. Na Plik menu kliknijŚledzenie nowych, a następnie połączyć się z wystąpienie SQL Server.

    The Trace Propertiesdialog box appears.

    Uwaga

    If Start tracing immediately after making connectionis selected, the Trace Propertiesdialog box fails to appear and the trace begins instead.To turn off this setting, on the Toolsmenu, click Options, and clear the Start tracing immediately after making connection check box.

  2. W Nazwa śledzenia pola, wpisz nazwę dla śledzenia, a następnie kliknij przycisk Zapisywanie do tabela.

  3. W Połączyć się z serwerem w oknie dialogowym należy połączyć SQL Server Baza danych, który będzie zawierał tabela śledzenia.

  4. In the Destination Table dialog box, select a database from the Databaselist.

  5. W Właściciel zaznacz właściciela do śledzenia.

  6. W Tabela listy, wpisz lub wybierz nazwę tabeli wyniki śledzenia.Kliknij przycisk OK.

  7. In the Trace Properties dialog box, select the **Set maximum rows (in thousands)**check box to specify the maximum number of rows to save.