Skip to content

HCPosh missing-alias finder incorrectly flagging UNPIVOT columns #5

Description

@davidshimamoto

The "missing alias" finder in HCPosh is identifying some columns that cannot be prefixed. An example is when doing an UNPIVOT, the columns that you specify in the unpivot function cannot be prefixed.

I attempted to prefix them and got this SQL Server error:
Msg 275, Level 16, State 1, Line 61
Prefixes are not allowed in value or pivot columns of an UNPIVOT operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions