Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Automated Profiler trace import

By Wanderer,

This stored procedure was written to complement the automated profiler trace create procedure (should be here somewhere - check the scripts).

Bascially, given the database (sample script to create the database included, but you may want to personalize it), this stored procedure will import the tracefile content into the table, which is indexed on expected search columns.

I recommend that this database and stored procedure live on a seperate server from any critical environment, ideally one where you can create copies of your databases, so that after reviewing the information extracted from yur traces, you can review the impact of changes in a stand-alone environment.

((As usual, please carefully read and understand ANY script you get before using it, and TEST it before it goes anywhere near a critical environment. No waranties etc. implied ))

Total article views: 346 | Views in the last 30 days: 1
 
Related Articles
ARTICLE

Scripting Environments in SSIS

Demo and script on how to script out SSIS Environments and their associated variables

SCRIPT

Generate Drop / Create Script for views, stored Procedures

This Script generates drop and create scripts for views or stored procedures.

FORUM

script to create indexes existing in a database

script to create indexes existing in a database

SCRIPT

consolidated script generator for multiple stored procedures

Consolidated script generator for multiple stored procedures (existing and/or newly created) in MS S...

ARTICLE

Creating a Script from a Stored Procedure

Ryan demonstrates how he arrived at a solution that allows you to create scripts from a stored proce...

 
Contribute