Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: How do i get records in one row

    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...

  • RE: How do i get records in one row

    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...

  • RE: How do i get records in one row

    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...

Viewing 3 posts - 1 through 3 (of 3 total)