I have .sql file which has multiple stored procedure, that run perfectly from mysql workbench and mysql command line tool example : source test.sql
test.sql
DROP procedure IF EXISTS `test`;
DELIMITER $$
CREATE PROCEDURE `test` ()
BEGIN
select * from organisations;
END$$
DELIMITER ;
DROP procedure IF EXISTS `test1`;
DELIMITER $$
CREATE PROCEDURE `test1` ()
BEGIN
select * from organisations;
END$$
DELIMITER ;
I have tried to execute same with powershell, but as i fond powershell doesn't recognized 'DELIMITER' keyword, so unable to run this via powershell.
Do we have any Azure DevOps release pipeline task which can run the test.sql? My requirement is to run the test.sql in Azure DevOps deployment pipleline. Any help Guys !!!
test.sql
DROP procedure IF EXISTS `test`;
DELIMITER $$
CREATE PROCEDURE `test` ()
BEGIN
select * from organisations;
END$$
DELIMITER ;
DROP procedure IF EXISTS `test1`;
DELIMITER $$
CREATE PROCEDURE `test1` ()
BEGIN
select * from organisations;
END$$
DELIMITER ;
I have tried to execute same with powershell, but as i fond powershell doesn't recognized 'DELIMITER' keyword, so unable to run this via powershell.
Do we have any Azure DevOps release pipeline task which can run the test.sql? My requirement is to run the test.sql in Azure DevOps deployment pipleline. Any help Guys !!!