freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Kaeptn Weltall" <rl AT w4u.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: Re: mssql ntext format
- Date: Wed, 16 Jan 2002 12:02:15 -0500
It turned out to me, that the
@@textsize is set on connection level.
by default it seems to be 2GB.
thats what i get when i ask from within php:
$res = sybase_query("select @@textsize as sz");
$tmp = sybase_fetch_array($res);
echo "size = ".$tmp["sz"].".";die;
setting the textsize to a lower value with e.g.
$res = sybase_query("set textsize 1048576");
leads to a successfull script run, as long as the value
is not above ~350MB. I tried to get this value sharp,
but in this regions the php sometimes breaks and
sometimes not, using exactly the same value.
magic? anyway, thanks for the help.
Robert
-
mssql ntext format,
Kaeptn Weltall, 01/07/2002
- <Possible follow-up(s)>
- Re: mssql ntext format, Stefan Carstens, 01/07/2002
- Re: mssql ntext format, James K. Lowden, 01/08/2002
- Re: mssql ntext format, Brian Bruns, 01/08/2002
- Re: mssql ntext format, Kaeptn Weltall, 01/16/2002
Archive powered by MHonArc 2.6.24.