开发者

batch file command

开发者 https://www.devze.com 2022-12-18 22:05 出处:网络
i want to write a query to a file... echo select * from emp where salary >= 0 >>emp.sql but it refuses to accept >= symbol as > used for redirection...

i want to write a query to a file... echo select * from emp where salary >= 0 >>emp.sql

but it refuses to accept >= symbol as > used for redirection...

any other way?

I want to write the query in the program itself.... not by passing already written file...开发者_如何转开发


Use a ^ character

echo 1 ^< 2
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号