PHP 4.0 Bug #8407: set rowcount n will return no result
| From: | steeven at kali dot com dot cn | Date: | Sun, 24 Dec 2000 17:20:17 +0000 |
| Subject: | PHP 4.0 Bug #8407: set rowcount n will return no result | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42225@lists.php.net to get a copy of this message | ||
From: steeven@kali.com.cn
Operating system: windowsme+sql2000
PHP version: 4.0.4
PHP Bug Type: MSSQL related
Bug description: set rowcount n will return no result
$q="
set rowcount 5
select * from tbl
set rowcount 0
";
$r= mssql_query($q);
$r will be empty!
$q="select TOP 5 * from tbl ";
this will work.
--
Edit Bug report at: http://bugs.php.net/?id=8407&edit=1