Hi @HARD RESET3144 ,
*I HAVE QUERİES LİKE DOWN. SELECT * FROM dbo.010190 WHERE FLOWER='PİNK' NOW I JUST WANT TO CHANGE AUTOMATİCALLY "dbo.010190" in every query.
Because other query will be executed from dbo.020190 and other 030190 and so go on.*
May I know if the structures of the sql tables(dbo.010190,dbo.020190,dbo.030190) are same(same columns and same datatypes)?
If so, we can store the sql table names and sql query in SSIS variables.
Then we can choose Data access mode as SQL command from variable in OLEDB Source.
Once we change the value in variable SqlTableName, the value in variable SqlQuery will be changed.
May I know where do you store these sql table names?
Best regards,
Mona
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.