Re: Pear::DB - with MS SQL - Cannot access VIEW of Active Directory.
| From: | laurence | Date: | Wed, 13 Oct 2004 21:03:01 +0000 |
| Subject: | Re: Pear::DB - with MS SQL - Cannot access VIEW of Active Directory. | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14901@lists.php.net to get a copy of this message | ||
Yes bob, you are correct. An SQL Server database option settings issue. See
reply to Justin.
Yes, direct use of mssql extension gives same error, and yields the complete
error message which, as Justin has indicated, can be got in DB with a call
to getUserInfo().
>I doubt if this problem is caused by PEAR::DB. Try executing the same
> query using the mssql extension directly:
>
> $con = mssql_connect( $db_host, $db_user, $db_pass );
> mssql_select_db( $db_name, $con );
> $res = mssql_query( $sql, $con );
>
> -- bob
>