SQL Server Error Code – 5318 in a merge statement, the source and tar

In this blog post, you’ll learn more about the SQL Server Error Code 5318 and the error message description that is shown

SQL Server Error Code

5318

SQL Server Error Description for the Code :5318

In a MERGE statement, the source and target cannot have the same name or alias. Use different aliases for the source and target to ensure that they have unique names in the MERGE statement.

Leave Your Comment