eselhassan
Programmer
Guys,
I'm dooing an openquery after successfully creating a linked server using iSeries ODBC driver as follows:
Select * from OpenQuery(MyServer, ' ')
I need some one to help me rewrite the following query in the above OpenQuery statement. Here is my AS400 query which by the works just fine in retrieving data inside the AS400
SELECT adarnb.01, adagtx.01, adahcd.01, adaicd.01, avclas.02, avhscd.02, avevla.02, avevbl.02, avevob.02
FROM Library/aparl7, Library/aavlul1
JOIN adarnb.01=avbonb.02 AND adaynb.01=avskey.02
WHERE adarnb.01=2003
Thanks for any help and all suggestions.
I'm dooing an openquery after successfully creating a linked server using iSeries ODBC driver as follows:
Select * from OpenQuery(MyServer, ' ')
I need some one to help me rewrite the following query in the above OpenQuery statement. Here is my AS400 query which by the works just fine in retrieving data inside the AS400
SELECT adarnb.01, adagtx.01, adahcd.01, adaicd.01, avclas.02, avhscd.02, avevla.02, avevbl.02, avevob.02
FROM Library/aparl7, Library/aavlul1
JOIN adarnb.01=avbonb.02 AND adaynb.01=avskey.02
WHERE adarnb.01=2003
Thanks for any help and all suggestions.