Udostępnij za pośrednictwem


Jak Zapisz wyniki śledzenia do tabeli (SQL Server Profiler)

W tym temacie opisano sposób zapisywania wyniki śledzenia do tabela bazy danych za pomocą SQL Server Profiler.

Aby zapisać wyniki śledzenia do tabela

  1. Na pliku menu, kliknij Nowe śledzenie, a następnie połączyć się z wystąpienie SQL Server.

    The Trace Propertiesdialog box appears.

    Ostrzeżenie

    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 nazwę śledzenia wpisz nazwę dla śledzenia, a następnie kliknij przycisk zapisać tabela.

  3. W połączenie z serwerem okno dialogowe należy połączyć się z SQL Server bazy danych będzie zawierać tabela śledzenia.

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

  5. W właściciela zaznacz właściciela dla śledzenia.

  6. W tabela listy, wpisz lub wybierz nazwę tabela wyniki śledzenia.Click 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.