执行select语句后如何获取结果集中的行数量?我需要这个数量来分配内存,好存放结果集。[解决办法]select count(*)[解决办法]select count(1) from (select .....)a --查询语句