ID:               37869
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mgiurgiu at eurotopo dot ro
-Status:           Open
+Status:           Bogus
 Bug Type:         MSSQL related
 Operating System: Windows XP
 PHP Version:      4.4.2
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2006-06-21 07:14:34] mgiurgiu at eurotopo dot ro

Description:
------------
I have created a Linked server(MSSQL 2000 server) at an Interbase
database and works perfectly from Querry Analyzer
The problem occurs when I try to execute the query from php (by using 
query); I've got an error : "DB Error: unknown error".
It seems that php doesn't allows to access remote linked servers!


Reproduce code:
---------------
$db =& DBWrapper::get();

.......
$sql =
        "select U.*
         from   OPENQUERY(FB, 'select * from users') U
         where  U.USER_ACCOUNT = " . "MGI";
        $result =& $db->query($sql);
if (PEAR::isError($result)) {
                die($result->getMessage());
        }

Expected result:
----------------
no error

Actual result:
--------------
"DB Error: unknown error".



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37869&edit=1

Reply via email to