Viewing 3 posts - 1 through 3 (of 3 total)
Hi gjuarez
Okay if you need that full dataset you will have to obtain the details after you carry out the pivot. The problem here is the PIVOT will group your...
April 16, 2015 at 3:33 pm
Hi gjuarez
I have a feeling there are more columns in VW_ILLDISC1 than the few you stated in your original post, if that is the case the select * in the...
April 16, 2015 at 1:14 pm
Hello 🙂
If you dont need them in seperate columns maybe give this a try:
--Create temp test table
CREATE TABLE #VW_ILLDISC1
(
Id INT NOT NULL,
IncidentId INT NOT NULL,
IncidentDescription NVARCHAR(10)
)
GO
--Populate temp...
April 16, 2015 at 4:40 am
Viewing 3 posts - 1 through 3 (of 3 total)