SQLScholar
Programmer
Hey all,
I have been wading through this forum looking to work out how to use global variables.
I have a DTS package that has about 10 SQL queries inside it.
Each one uses getdate(). What i would love to do is replace the getdate() with a global variable.
Normally this variable would be getdate() - but if there is an issue and i need to re-run, i could modify the var to any given date.
How do i begin to do this? I have been fiddling with DTS for a while, and looking at this forum - and i just cant sus it out!
Thanks
Dan
----------------------------------------
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Dr. Seuss
Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
I have been wading through this forum looking to work out how to use global variables.
I have a DTS package that has about 10 SQL queries inside it.
Each one uses getdate(). What i would love to do is replace the getdate() with a global variable.
Normally this variable would be getdate() - but if there is an issue and i need to re-run, i could modify the var to any given date.
How do i begin to do this? I have been fiddling with DTS for a while, and looking at this forum - and i just cant sus it out!
Thanks
Dan
----------------------------------------
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Dr. Seuss
Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------