MikeBronner
Programmer
Hi everyone!
I am experiencing a very strange bug using PEAR:MDB2 in conjunction with my MS SQL 2000 Server, which has some Oracle servers set up as linked servers.
Here's the problem: If I run a query against just the MS SQL Server I get all records as expected. However, if I join these results against a linked server database to show the corresponding records in the database as well, I get far fewer than expected records in PHP, while I get all records when running the exact same query in Enterprise Manager. In fact, the more queries that go against the linked server, the fewer records I get returned in PHP (while Enterprise Manager consistantly returns all records).
This tells me that the problem lies either with PHP or MDB2, and I am not sure how to narrow it down or even fix it. Does anyone have any ideas on how I could go about tracking this down further (or even have a fix for it)?
Thanks a lot guys!
Mike
Take Care,
Mike
I am experiencing a very strange bug using PEAR:MDB2 in conjunction with my MS SQL 2000 Server, which has some Oracle servers set up as linked servers.
Here's the problem: If I run a query against just the MS SQL Server I get all records as expected. However, if I join these results against a linked server database to show the corresponding records in the database as well, I get far fewer than expected records in PHP, while I get all records when running the exact same query in Enterprise Manager. In fact, the more queries that go against the linked server, the fewer records I get returned in PHP (while Enterprise Manager consistantly returns all records).
This tells me that the problem lies either with PHP or MDB2, and I am not sure how to narrow it down or even fix it. Does anyone have any ideas on how I could go about tracking this down further (or even have a fix for it)?
Thanks a lot guys!
Mike
Take Care,
Mike