PIVOT Generator

PIVOT queries is a very powerful tool in SQL Server. But who can really remember the crazy format that the query needs to be in to get the query to parse correctly. PIVOT Generator is here to help enter your query and complete a few simple steps and you'll have a working PIVOT statement. Enjoy.

Enter a query.