Re: problems returning varchars in MSSQL bigger than 255 chars
| From: | Frank M. Kromann | Date: | Wed, 25 Jul 2001 18:11:17 +0000 |
| Subject: | Re: problems returning varchars in MSSQL bigger than 255 chars | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8502@lists.php.net to get a copy of this message | ||
Hi,
The problem is in the Microsoft libraries used in the MSSQL extension. These libraries was created
for SQL Server 6.0 and has not been updated since.
New data types and features was added in SQL Server 7.0 and 2000, but thd DB-Library was not
updated.
So far the only solution is to use COM and ADODB or ODBC to get by this.
- Frank
>
> Hi,
>
> I have a problem with my code. When i use Varchars larger than 255 PHP only
> fetches the top 255 chars.
>
> Does anyone knows where's my problem?
>
> I use PHP4+IIS+SQL Server 2k.
>
> Thank you in advance
>
>
> Hugo Alexandre Dias
> Eng. Sistemas Informática
> anikin@ip.pt
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>