本文介绍了基于SQL结果的批处理文件循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 所有,我正在寻找一些建议。 我需要在团队城市多次使用不同的数据库执行构建步骤(或Liquibase命令)。 困难在于需要根据以前的Sql语句确定数据库的名称。 原因是我们的项目在其master数据库的表中列出了许多当前的归档数据库。每个都需要在我们的开发环境中每天更新。 有人可以建议我调查的方法或方向吗? 非常感谢 我的尝试: 我考虑过批处理文件和powershell,但我对这些方法没有信心。 我不是在寻找有人为我做这项工作,只是建议调查的方向。解决方案 All, I am looking for some advice.I need to execute build steps (or Liquibase command) on team city a number of times with different databases.The difficulty is that the names of the databases need to be determined based on a prior Sql statement.The reason for this is that our project lists a number of current archive databases in a table in its master database. Each of which needs to be updated daily within our development environment.Can anybody suggest possible methods or direction for me to investigate?Most appreciatedWhat I have tried:I have considered batch files and powershell but I am not confident about these methods.I am not looking for somebody to do the work for me, simply suggestions of directions to investigate. 解决方案 这篇关于基于SQL结果的批处理文件循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-20 13:40
查看更多