eselhassan
Programmer
Hello all,
I found this forum to be very helpfull, so I'm back with more questions. I'm querying AS400 machine by linking it to SQL Server just fine.
I would like however, rather than getting the data display in the results pane of Query Analyzer I would like to automatically insert the data into an existing sql table. Can someone give me a hand on where to start?
I'm thinking to create a stored procedure that query the AS400 and update my sql table nightly.
My current query is a simple one:
SELECT * FROM OpenQuery(MyServer, 'SELECT field1, field2 FROM LIBRARY1/FILE1').
Thanks for all the help I can get.
I found this forum to be very helpfull, so I'm back with more questions. I'm querying AS400 machine by linking it to SQL Server just fine.
I would like however, rather than getting the data display in the results pane of Query Analyzer I would like to automatically insert the data into an existing sql table. Can someone give me a hand on where to start?
I'm thinking to create a stored procedure that query the AS400 and update my sql table nightly.
My current query is a simple one:
SELECT * FROM OpenQuery(MyServer, 'SELECT field1, field2 FROM LIBRARY1/FILE1').
Thanks for all the help I can get.