Bug #18514: TEXT S1002 SQL error
| From: | drake at virtualdrake dot com | Date: | Tue, 23 Jul 2002 21:28:49 +0000 |
| Subject: | Bug #18514: TEXT S1002 SQL error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14951@lists.php.net to get a copy of this message | ||
From: drake@virtualdrake.com
Operating system: windows 2000
PHP version: 4.2.2
PHP Bug Type: MSSQL related
Bug description: TEXT S1002 SQL error
Warning: SQL error: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor
Index, SQL state S1002 in SQLGetData in c:\program files\apache
group\apache\htdocs\gettable.php on line 135
When trying to get a text field from MS SQL, it is mis-representing THe
length of the field 2147483647
most are actually NULL, but some are a whole 30 characters
if(odbc_result($cur,$w)==NULL)
--
Edit bug report at http://bugs.php.net/?id=18514&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18514&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18514&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18514&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18514&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18514&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18514&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18514&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18514&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18514&r=globals