Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
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: 1792 | Views in the last 30 days: 5
Related Articles

SSMS and Template Explorer

SSMS Templates


SSIS Package Template

SSIS Package Template


Profiler Template of 2000 to 2005

Conversion of Templates


Using Templates

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


Templates and teamwork

SQL Server expert David Poole discusses how teams can work together and share templates in Managemen...


Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones