Forum Discussion

VBA_ENTHU1988's avatar
VBA_ENTHU1988
Copper Contributor
Oct 11, 2024

Dynamic Pivot in SQL Query without DECLARE

I have a custom/dynamic SQL to PIVOT column values.  As number of Columns are not fixed it could increase or decrease we cannot have normal PIVOT . Instead we need to identify columns dynamically ...

Resources