I have a package that includes a T-SQL step. I have created som variables to use in the t-sql statement. But I don't find the correct syntax for using the variable in my t-sql statement.
My variable is QuarterID. And in my t-sql I want to use this variable.
t-sql: DECLARE @myQuarterId int select @myQuarterId = User::QuarterID
I have tried "@(User::QuarterID)", "@QuarterID", and all different syntax. Is there anyone out there who could help me on this one?