Home  >  Article  >  Backend Development  >  php 显示查询的结果问题

php 显示查询的结果问题

WBOY
WBOYOriginal
2016-06-23 14:17:521307browse

PHP MS SQL

我用PHP连接到MSSQL,然后用
$sql=" exec Report_a2013zhou_kpsfpout '','2013-1-1','2013-1-31','','','',''";
这个语句执行存储过程,发现显示的结果不完整,比我在数据库里查询分析器里面直接执行显示出来结果少了将近1000多条,我在数据库查出来的有6000多行,在网页上查询很慢,等了半天就出来5000多行,
请问这是什么原因,是不是网页在执行存储过程上对行数和查询耗时上有限制

回复讨论(解决方案)

等了半天... 显然一次显示这么多行浏览器吃不消
分批来显示不就可以了

问题我自己解决了 是我自己的页面超过了PHP.ini文件甚至的8M的现在, 我把它改成20就可以正常显示了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn