Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

run create store procedure by poweshell (1 reply)

$
0
0
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 !!!

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>