SQL Clone
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: 349 | Views in the last 30 days: 1
Related Articles

Scripting Environments in SSIS

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


Generate Drop / Create Script for views, stored Procedures

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


script to create indexes existing in a database

script to create indexes existing in a database


Database Snapshot Create/Drop/Restore SQL Script.

Database Snapshot Creat/Drop/Restore SQL Script for Single or multiple data files of databases.


SQL Server procedure to script tables

SQL Server procedure to script all tables in a given database to one or individual files on a given ...