Hello
I have set a variable using a Script Task that assigns a select statement. This works fine.
However, when I select the variable in the data flow object ( within the OLE DB Source object ) I receive an error saying "Command text was not set for the command object"
I am using the script task because my table name changes everyday with a current date stamp on it: TableName_20091029. So I need a dynamic select statement:
select * from tablename_20091029.
Can anyone provide any help on this?
Thanks very much,
Andy.
I have set a variable using a Script Task that assigns a select statement. This works fine.
However, when I select the variable in the data flow object ( within the OLE DB Source object ) I receive an error saying "Command text was not set for the command object"
I am using the script task because my table name changes everyday with a current date stamp on it: TableName_20091029. So I need a dynamic select statement:
select * from tablename_20091029.
Can anyone provide any help on this?
Thanks very much,
Andy.