开发者

Running Multiple Queries through Shell Script

开发者 https://www.devze.com 2023-04-01 06:32 出处:网络
I have 6 MySQL Queries and I need to run queries via shell script and the result should get imported in 开发者_运维知识库CSV file I know how to run a single MYSQL query through shell script but how to

I have 6 MySQL Queries and I need to run queries via shell script and the result should get imported in 开发者_运维知识库CSV file I know how to run a single MYSQL query through shell script but how to run multiple queries throught Shell script.


Just put a ";" between all your queries.

SELECT something FROM sometable; UPDATE …
0

精彩评论

暂无评论...
验证码 换一张
取 消