Aggregate the rows in the source table that match the row in the target table by using GROUP BY functions. Use the ROW_NUMBER() OLAP expression to generate unique rows. SQLSTATE 21506Parent topic: Error (−) SQL codes Related reference MERGE statement group-by-clause OLAP specifications...
GROUP BY 関数を使用して、ターゲット表の行と一致する、ソース表内の複数の行を集約します。 ROW_NUMBER() OLAP 式を使用して、固有の行を生成します。 SQLSTATE 21506 親トピック: エラー(-)SQLコード 関連参照 MERGE 声明 group-by-clause OLAP 指定...
検索条件を訂正して、ターゲット表の各行が、ソース表の 1 行にのみ一致するようにします。 GROUP BY 関数を使用して、ターゲット表の行と一致する、ソース表内の複数の行を集約します。 ROW_NUMBER() OLAP 式を使用して、固有の行を生成します。