ani8
ani8

Reputation: 3

batch file command

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...

Upvotes: 0

Views: 99

Answers (1)

Rubens Farias
Rubens Farias

Reputation: 57936

Use a ^ character

echo 1 ^< 2

Upvotes: 1

Related Questions