e.g. exec master..xp_cmdshell 'plus 33 -s scott/tiger@sid1 @c:\oracle_query.sql'
If you do this in a query window in SQL Server, you will see the data returned
from your Oracle query, along with some baggage messages from xp_cmdshell. From
within a stored procedure, you can insert the results of your xp_cmdshell into a
temp table. Then you can parse the table and separate your query results from
the other messages, and split the data into the columns you need.
If there's a simpler way to do this in SQL 6.5 I'd love to hear about it. In
SQL 7, it's a different matter altogether. Using DTS this is a pretty
straight-forward task.
...Bruce
Regards,
Scott
Jean Chilson <jchi...@exec.gsinc.state.pa.us> wrote in message
news:u3KKQxLk#GA.265@cppssbbsa03...
Scott Prugh <spr...@telution.com> wrote in article
<e0qT5JPk#GA.270@cppssbbsa03>...
Suryanto <sury...@commerce.net.id> wrote in message
news:01be9127$9363dce0$1ee2...@sur.gsk.net...