Hi,
I'm using the new script activity to perform two select queries in my database. I have set the dynamic content to be like this:
@concat('SELECT BCode, SUM(Waa) FROM table1 WHERE BCode=3 AND Date=''', variables('currentDate'), ''' GROUP BY BCode ',
'SELECT BCode, SUM(Waa) FROM table1 WHERE BCode=3 AND Date=''', variables('previousDate'), ''' GROUP BY BCode')
However, when debugging the pipeline all I get is the following error:
Error code
2011
Failure type
User configuration issue
Details
Argument {0} is null or empty.
Parameter name: paraKey
However, I have other script activities before this one and none of them is failing. What is wrong?
Thanks in advance.