Run file having sql statements and export result to file

Tools
Highlighted

Run file having sql statements and export result to file

Hi All,

 

I wanted to run a file having sql statements and export that result set into another file.

 

Can you please explain me here how can we achieve?

 

 

Thanks!

Sreekanth.