php-windows Digest 13 Mar 2008 06:45:32 -0000 Issue 3442

Topics (messages 28827 through 28827):

about the PHP linked server error
        28827 by: ÀîÔ½

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---

Hello,
 
When I use php to invoke linked server configured in MS-SQL 2005, there is an 
error like this:
"Exception: ../application/models/TestDatabase.php -> TestDatabase -> 
testListNewDefect -> Unexpected exception of type [Zend_Db_Statement_Exception] 
with message [SQLSTATE[HY000]: General error: 10007 Heterogeneous queries 
require the ANSI_NULLS and ANSI_WARNINGS options to be set for the connection. 
This ensures consistent query semantics. Enable these options and then reissue 
your query. [10007] (severity 5) [(null)]] in 
[C:\ZendFramework-1.0.3\library\Zend\Db\Statement\Pdo.php line 227]"
 
I think this error is caused by PHP but not zend framework, please give me some 
help. Thank you.
 
 
_________________________________________________________________
MSN 中文网,最新时尚生活资讯,白领聚集门户。
http://cn.msn.com

--- End Message ---

Reply via email to