Forum Discussion

rachitasharma's avatar
rachitasharma
Copper Contributor
Sep 02, 2022

Deploy sql package using sql script file in Azure pipelines

I want to deploy sql package using script file which is present in  Azure repository. The task available in pipelines are for Windows agent and I am using a linux agent. For a single line query I was using bash task and passing the command " sqlcmd -U -P <dbname> -q"

But I need to pass the path of the sql file from repository as it is made of multiple queries. 
Please help me regarding the same. 

No RepliesBe the first to reply

Resources