I'm receiving an error for the following query:
EXEC dbo.sp_Sproc_Name
@Param1=@ParamValue1
,@Param2='lorem ipsum "' + @ParamValue2 + '" dolor'
I get the error:
Incorrect syntax near '+'.
Therefore, how can I pass a variable as part of my parameter value like I'm trying to do above?
Many Thanks.