Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Running a query from remote Comp and saving results
Hi,
I need to run a simple select query from my desktop and save the
results in a text file on my desktop. I am planning on setting it up as
a scheduled task in windows.
I tried using the following
echo exec dbms_output.putline(desc campaign_0_A) >> C:\test.txt; |
sqlplus username/pwd_at_DBSERVER
But, it puts out the text 'desc campaign_0_A' in the output file test.txt. Can I use dmbs_output command to do this? Or something else?
any suggestion greatly appreciated.
TIA Received on Wed Oct 05 2005 - 15:23:29 CDT
![]() |
![]() |