there is a field of typ ntext in this table change it to text almir ""Denis Eltsov"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 99eukd$k9t$[EMAIL PROTECTED]">news:99eukd$k9t$[EMAIL PROTECTED]... > I use win2000 SP1 - IIS5 - php4 (as CGI) - odbc connection to Access 2000 > Everything was fine until I install MS SQL 2000 to the same machine. > After this I receive such a message > > FATAL: emalloc(): Unable to allocate 2147483599 bytes > > every time I try to execute such a program > <? > $x=odbc_connect("oh","",""); > $r=odbc_exec($x,"select 'a' as a_leter from some_table"); > ?> > > ODBC works fine from any other program. select text_field from some_table > all so works fine . > > Best regards Denis Eltsov > > P.S. I undestend what select 'a' as a_leter from some_table will return my > "a" several times. > This is an example of problem. :) > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]