I have defined a variable as:
DateSecondsOffset Int default as 1
in a SQL Server Integration Service project. I use it as constant.
In a task, I have the following SQL to set another var NextDT:
SELECT dateadd(s, max(timestamp), 1) DT from myTable
I would like to replace the 1 with DateSecondOffset so that I can change it when needed. Can I just type in the var name there or prefix it with @ or something else?