[PHP-DEV] PHP 4.0 Bug #8407: set rowcount n will return no result From: steeven <email protected>
Date: 12/24/00

From: steeven <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>