Hi
Thanks for reaching out to Microsoft Q&A.
I think you are trying to execute sql script via azure data factory? let me know if its not that you are asking for.
See the below link which demonstrates how to run a sql script using script activity in azure data factory or synapse pipelines.
Let me know if this helped.
Please Upvote and Accept as answer if the reply was helpful, this will be helpful to other community members.