Caught in a loop trying to find info. I need to read a value from a datareader source and based on that value I need to dynamically create a SELECT statement that will be used by another task. I want to store the query string in a variables. But can't seem to find and info on how to do this. Any help will be greatly appreciated.