Hi,
I'm reading the help files included in the SQL Server which have proven to confuse me more than actually help... :/
So I was hoping that you guys could help me with something that should be very basic.. Package scoped variables and using them in Execute SQL Tasks.
Here's what I have under my variables:
Name - varYEARMONTH
Scope - Package
Value - '200704'
under the Execute SQL task I have the following configured:
Parameter Mapping:
Variable Name - varYEARMONTH
Direction - Input
Data Type - Long
Parameter Name - YEARMONTH
Now I don't understand how I am supposed to actually use the variable within the SQL statement..
What I would like to do, is use the variable as a criteria...
Any help is appreciated..
I'm reading the help files included in the SQL Server which have proven to confuse me more than actually help... :/
So I was hoping that you guys could help me with something that should be very basic.. Package scoped variables and using them in Execute SQL Tasks.
Here's what I have under my variables:
Name - varYEARMONTH
Scope - Package
Value - '200704'
under the Execute SQL task I have the following configured:
Parameter Mapping:
Variable Name - varYEARMONTH
Direction - Input
Data Type - Long
Parameter Name - YEARMONTH
Now I don't understand how I am supposed to actually use the variable within the SQL statement..
What I would like to do, is use the variable as a criteria...
Any help is appreciated..