SQL Server MERGE + Joining other tables

前端 未结 1 522
鱼传尺愫
鱼传尺愫 2021-01-02 04:20

I am using the MERGE statement within a database project to populate reference data from a static value set, such as the following below:

    MERGE INTO dbo.         


        
相关标签:
1条回答
  • 2021-01-02 04:37

    Merge supports CTEs so perhaps you can use this as your source, combining your static data and performing any joins within the cte.

    0 讨论(0)
提交回复
热议问题