Step 1- First Store the Backup of Customer's Database.
Step 2 - Attach the Customer Database (Session & VIDYACOMM) with SQL Server (Not LocalDB).
Step 3- Paste the query file in C Drive.
Step 4- Open Command Prompt.
Step
5- Type
Script sqlcmd -S .\<SQL Instance
Name> -i C:\<SQL File Name>.sql
Step 6- After pressing enter the query will be executed.
Step 7- Delete the SQL file from C drive after executing the query.
Note: - You need to update the SQL Server instance name. And also update the SQL file name (Which you pasted in C drive).