Hello, I have a stored procedure that is only doing 1 thing - a MERGE command. When I run the code in the stored procedure, it is successful, as soon as I put the "CREATE PROCEDURE" around it and try to call it, nothing happens. Has anyone else ever come across this before? The Target is a table within the same database as the procedure, but the Source is coming from a query that crosses a linked server. Target is SQL 2014, Source is 2008 R2 SP3.
↧