Skip to content

Snapshot_merge: 'WHEN MATCHED' cannot appear more than once in a 'UPDATE' clause of a MERGE statement #3003

@mikaelene

Description

@mikaelene

Describe the feature

The SQL generated for updating records in merge statements generated by snapshots does not work on SQL Server.

Describe alternatives you've considered

I want it to work on SQL Server as well as all other databases.

Additional context

This applies to SQL Server, but it could be better written anyway to not confuse developers.

Who will this benefit?

SQL Server dbt users

Are you interested in contributing this feature?

I can make a PR solving this

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions