PowerBuilder中count(*)是什么意思

问题描述:

PowerBuilder中count(*)是什么意思
1个回答 分类:综合 2014-11-07

问题解答:

我来补答
统计某数据表在某条件下的记录数.
select Count(*) Into :li_Count from table1
表示要获得table1表中总记录数,并将该记录数赋值给变量li_Count
select Count(*) Into :li_Count From table where col01='AAA';
表示要获得table1表中所有col01字段等于'AAA'的记录数,并将该记录数赋值给变量li_Count
 
 
展开全文阅读
剩余:2000
下一页:填词谢谢
也许感兴趣的知识