are you using sqlplus to connect to the database?
If so have a look at the sqlplus-command SPOOL to send the output to a flatfile. The sqlplus-command SET lets you specify a delimiter.
Yes I am using sqlplus to connect to oracle. I can able to store the file. But the issue is i want to store the file in Comma delimiter. Can you please help me in getting the exact queries/statements.
For Ex: The file is of structure EMPNO ENAME SAL.
The data is storing in flat file in UNIX as
101 Cero 4000 200 Arun 3000 459 Chris 3500.