Possible Duplicate:
Cast integer and concatenate to varchar in TSQL
How do you call a stored procedure using named parameters that have more complex values. Here is a somewhat concocted example:
EXEC MyStoredProc @Param1='My name is: '+@Name
Or:
EXEC MyStoredProc @Param1=CONCAT('My name is: ',@Name)
I get an error trying to concatenate the literal string 'My name is: ' with the variable @Name. Parentheses do not help the matter any. Is this a limitation of T-SQL (i.e., when named parameters are used, the expression after the equal sign must be a single literal or variable)?
Thanks