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 脚本将新查询附加到现有 SQL 文件。有没有办法做到这一点?
我有一个文件abc.sql,我想在该文件的末尾附加一个新查询,即
abc.sql
UPDATE STORE SET a = "c";
使用 shell 脚本。怎么做?