开发者

Running Multiple Queries through Shell Script

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜