tags:

views:

9

answers:

1

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

+1  A: 

Use a ^ character

echo 1 ^< 2
Rubens Farias