Hi Dragos,

I am also facing a similar problem in Merge statement where I am using a Function parameter inside a sub-query. Looks like it is not able to expand the value of the parameter inside the sub query in the Merge statement.
Did you find any resolution for your problem?

Pankaj