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)

Generate CROSS-TAB Scripts Automaticly !

By dcollier9,

Need to Transform a table with Summaries to be plugged into EXCEL or place a table of info in one row. This is cool and has been a real time saver!!!

Simply save as a Template file in your favorite template folder. In Query Analyzer go to Menu Tools... Options... General... Note the path of your "Template file Directory" Save as a *.tql file.(see also "Using Templates in SQL Query Analyzer" in SQL Books Online)
Simply play with the default generated script. Listed after the template.
This is a templated supported in SQL Server 2000

Total article views: 1798 | Views in the last 30 days: 5
Related Articles

SSMS and Template Explorer

SSMS Templates


SSIS Package Template

SSIS Package Template


Template Configuration

Extended Events is a much more complex system and profiler, and the use of templates can reduce the ...


Using Templates

Templates are one of those really handy tools that most DBAs I know of have either never heard of or...


Profiler Template of 2000 to 2005

Conversion of Templates