想生成一个类似于以下的语句到文本文件中:
select c1 || c2 from t1 where c3 < sysdate;
用echo select c1 || c2 from t1 where c3 < sysdate; >> temp.txt时不支持
只好改成echo "select c1 || c2 from t1 where c3 < sysdate;" >> temp.txt
但这个生成的temp.txt因为行头尾多了个"号没法使用, 到这里找一个高手看怎样用DOS中的命令把temp.txt中每行头尾的"去掉.
select c1 || c2 from t1 where c3 < sysdate;
用echo select c1 || c2 from t1 where c3 < sysdate; >> temp.txt时不支持
只好改成echo "select c1 || c2 from t1 where c3 < sysdate;" >> temp.txt
但这个生成的temp.txt因为行头尾多了个"号没法使用, 到这里找一个高手看怎样用DOS中的命令把temp.txt中每行头尾的"去掉.
