Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用下面的批处理脚本从列出的数据库中检查一些信息。通过 Dbinfo.txt 文件传递数据库详细信息。
for /F "tokens=*" %%i in (Dbinfo.txt) do sqlplus -s username/password@%%i @script.sql >>somelogfile.txt
似乎批处理脚本在第一行执行后没有进展,因为我正在为一个数据库获取输出。上面的批处理脚本有问题吗?