Hello all. I'm trying to run a query that pulls data from two files. One of the files is going to be on the local system in which the program is running, and the second file will be on a remote system. The query looks like this:
I know that if I do a "connect to", it will connect to the remote DB, but that means it will try to get the local file from the remote system also. Is there a way around this?
Thanks
Code:
SELECT A.CUSTNUM
FROM LocalFile A, RemoteFile B
WHERE (B.ITETYP = 'A' OR B.ITETYP = 'I') AND
(A.CUSTNUM >= B.ITSHPF AND A.CUSTNUM <= B.ITSHPT);
I know that if I do a "connect to", it will connect to the remote DB, but that means it will try to get the local file from the remote system also. Is there a way around this?
Thanks