SQL Server error code
SQL Server error 5315
SQL Server raises error 5315 at severity 16, which marks a problem with the query or data that you can correct.
The target of a MERGE statement cannot be a remote table, a remote view, or a view over remote tables.
| Msg | 5315 |
|---|---|
| Severity | 16 |
| Group | 5000–5999 |