Is there anyway to send the SELECT statement ouput to a file, e.g. myresult.rpt?
like select * from table > 'C:\table.rpt' or
select * from table; output to 'C:\table.rpt'
I need to send the output to a file that I download from the web later or diaplay it on the web page.
The later command above (output to) fails when I execute it from inside my ASP page. Even spool is also an Oracle command.
My backend database is Oracle, but as I am using only SQL, so i need a SQL command. Thus, "Spool table.rpt; select * from table" also fails.
any kind of help will be appreciated
Thanks in advance
like select * from table > 'C:\table.rpt' or
select * from table; output to 'C:\table.rpt'
I need to send the output to a file that I download from the web later or diaplay it on the web page.
The later command above (output to) fails when I execute it from inside my ASP page. Even spool is also an Oracle command.
My backend database is Oracle, but as I am using only SQL, so i need a SQL command. Thus, "Spool table.rpt; select * from table" also fails.
any kind of help will be appreciated
Thanks in advance