# Ansible to execute sql script on azure sql(paas)-- sql-cmd

**URL:** <https://forum.ansible.com/t/ansible-to-execute-sql-script-on-azure-sql-paas-sql-cmd/32977>\
**Category:** Ansible Project\
**Tags:** azure\
**Created:** [May 20, 2020, 5:49am UTC](https://forum.ansible.com/t/ansible-to-execute-sql-script-on-azure-sql-paas-sql-cmd/32977 "2020-05-20T05:49:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinod\_devops](https://avatars.discourse-cdn.com/v4/letter/v/41988e/32.png) [@vinod\_devops](https://forum.ansible.com/u/vinod_devops)\
**Post date:** [May 20, 2020, 5:49am UTC](https://forum.ansible.com/t/ansible-to-execute-sql-script-on-azure-sql-paas-sql-cmd/32977/1 "2020-05-20T05:49:29Z")

</div>

Hi guys,

I am working on ansible task to execute sql script on azure sql .

for Iaas I am using sql-cmd to execute sql script remoely.

My question how do I execute sql script on azure sql from ansible.

Thanks,  
vinod
