有没有办法在linux上使用isql (firebird)来执行update contact set email_address='foo@bar.com';?
我不想使用-i开关来指定sql脚本文件。我不能使用交互模式,因为我将从php脚本运行sql命令。
发布于 2011-04-07 10:12:09
当在标准输入上输入命令时,大多数明智的shells都会做正确的事情,因此您应该能够将SQL echo到isql中。
echo "update contact set email_address='foo@bar.com';" | /path/to/isql --your-favorite-switcheshttps://stackoverflow.com/questions/5574953
复制相似问题