Vithal Wadje

Vithal Wadje

  • 9
  • 55.4k
  • 50.7m

How to use where condition in piviot query

Nov 19 2012 4:25 AM
how to use where condition in piviot query ,

i am trying following but i got error


set @convert = 'select * from (select * from Loandt where lnno=123 ) Repayment
pivot(sum(Amount) for Lndt
in ('+@columns+')) as pivottable'



Answers (1)