Technical Article


sp_XTAB (prototype) produces pivoted (crosstab) views/output with a minimum of fuss.No messing with code, just tell XTAB what you want to pivot.Tested to 764 pivoted columns, XTAB can generate up to 63000 characters of dynamic sql. Example (deliberately over-simplified)----------------------updated 27 January 2004Use NorthwindEXEC sp_XTAB 'Northwind','xtEMPL_COUNTRY','Orders','EmployeeID','ShipCountry', '', 'OrderID','COUNT','NULL', '', 'SELECT xtEMPL_COUNTRY.* FROM xtEMPL_COUNTRY' -- Include optional […]


379 reads


Recovering a TDE Database Without the Certificate 


If you don’t have the backups of the certificate and private key from the...

Daily Coping 31 Jan 2023


Today’s coping tip is to take a small step towards and important goal. One...

Tales From The Field Weekly Wrap Up for the Week of 01-23-2022


 Hello Dear Reader!  It's been a while since I had time to sit down...

Read the latest Blogs


VSS / SQLWriter sequence of warnings and error (... subset of the volumes ...)

By Johan Bijnens

We have (only) one SQL2019 clustered instance reporting this sequence of error and warnings:...

The Data Fabric – Future of Data Management

By Ajay Kumar

Comments posted to this topic are about the item The Data Fabric – Future...

The Rise of Vector Databases

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Rise of Vector Databases

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers