I have a table:
--ID----ID2----Error
1 1 A
1 2 B
1 3 A
What i want:
---ID---ErrorTypeA---ErrorTypeB---
1 2 1
I don't know how many ErrorType there is, so they should be created dynamically based on the distinct values in Error column....Is that possible?