This is a long shot but here goes...
I have created a linked server definition on my SQL 2000 server to an AS400.
The strange thing is that when I use a simple LEFT OUTER JOIN query on SQL Server on the two tables via the linked server, I get a smaller returned set of rows that the same statement executed within the AS400 SQL environment. I am completely at a loss to why this is. Is there some sort of subtle difference the way linked servers or the AS400 works?.
Example:-
On The AS400
SELECT count(Field1) FROM Library1/File1 C1
LEFT OUTER JOIN Library1/File2 C2 ON
C1.Field1 = C2.Field1
On SQl Server
SELECT count(Field1) FROM AS400ALL.AS400.Library1.File1 C1
LEFT OUTER JOIN AS400ALL.AS400.Library1.File2 C2 ON C1.Field1 = C2.Field1;
Dazed and confused
I have created a linked server definition on my SQL 2000 server to an AS400.
The strange thing is that when I use a simple LEFT OUTER JOIN query on SQL Server on the two tables via the linked server, I get a smaller returned set of rows that the same statement executed within the AS400 SQL environment. I am completely at a loss to why this is. Is there some sort of subtle difference the way linked servers or the AS400 works?.
Example:-
On The AS400
SELECT count(Field1) FROM Library1/File1 C1
LEFT OUTER JOIN Library1/File2 C2 ON
C1.Field1 = C2.Field1
On SQl Server
SELECT count(Field1) FROM AS400ALL.AS400.Library1.File1 C1
LEFT OUTER JOIN AS400ALL.AS400.Library1.File2 C2 ON C1.Field1 = C2.Field1;
Dazed and confused