vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have a dts that is copying data from one database to another. Relatively simple query to transform the data: SELECT @PayEndDate AS Pay_Ending_Date, GridCode as Grid_Code, Name as Description, Rate FROM Rate_Grid It works if I declare @PayEndDate inside the task. However, I want @PayEndDate to be a global variable so I can pass the parameters in through vb. I can get the global variables working, but only in the where statement. For example: where Rate = ? However I can't get it working if I want the global variable to actually make the data in the column as above. I would appreciate any help - I'm stumped!!!!!!! Thank you, Susan |