Hi @Büşra Zencir,
How do you set the execute sql task?
Here is a tutorial about assigning value to a variable in the task, you may check to see if you have miss any steps.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.