Re: SET in MSSQL-query
| From: | Thomas | Date: | Mon, 08 Jan 2001 16:47:26 +0000 |
| Subject: | Re: SET in MSSQL-query | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4860@lists.php.net to get a copy of this message | ||
Hello Flint,
thanks for your answer, but it doesn't help me (unfortunately), because:
- PHP 4.04 release-version has a bug, so that I cant use UPDATE, etc..
- In PHP 4.03 ISAPI, the ini-file is not be read completely,
and I can't change to CGI (which would read these params), beacuse
- PHP 4.03 CGI causes Dr. Watson to come up on the use of some GD-functions.
So I'm still despairingly looking for a solution, with which I can use all
currently use scripts (using GD AND MSSQL).
(I know also that the PHP 4.04-prob. is solved in CVS, but I can't compile it
for myself, and till the next php4win-compile is available, it became too
dangerous concerning newly "implemented" bugs).
- On the other hand, such queries could be needed in some other contexts also.
But thanks again for the try,
Thomas
Flint Doungchak wrote:
> Thomas,
>
> There has been some recent discussion on the list on this topic so my
> information may be dated. However, the latest (or the last few) release of
> the php_mssql70.dll module allows you to set the textsize in the php.ini
> file.
>
> The sample ini file released with php4 shows an example of the syntax.
>
> -Flint
>
> -----Original Message-----
> From: Thomas [mailto:Yin.Yang@gmx.net]
> Sent: Monday, January 08, 2001 5:58 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] SET in MSSQL-query
>
> Hello!
>
> If I want to change e.g. the textsize with SET TEXTSIZE 16384, it is no
> problem in the qury-analyzer.
>
> If I want to do it in script with
> mssql_query( "SET TEXTSIZE 16384", $db );
>
> and check it in the query- analizer with:
> SELECT @@TEXTSIZE
>
> it has still the old value.
>
> What do I wrong?
>
> 2nd questiion: How can I get the result of "SELECT @@TEXTSIZE" in a
> php-script?
>
> Many thanks,
> Thomas
>
> --
> 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
>
> --
> 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