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.
我如何在shell脚本中检查mysql查询结果是否为空,例如在以下情况下,如果可能,在其他情况下,感谢您的帮助
value2=`mysql -uroot -proot -Dproject_ivr_db -rN --execute "SELECT AcctualFormat FROM meritlist_date wHERE Discipline='phd' AND FeeSubmissionDate='$value'"`