I have several SQL statements stored in text files. How to transfer these files to a string variable in SSIS so that I can use the same query in multiple places?
Answer the questions:
The queries are long and complex, which I would rather edit in a real text editor rather than inside SSIS text fields. I would also like the requests to be editable by people who do not have access to SSIS or do not know how to use them. Finally, each of the queries is used in several different data streams. Correct me if I am wrong, but if I use the same query in many places, I believe that I need to either use a variable or rewrite the code for each data stream.
source
share