PowerBuilder中count(*)是什么意思

来源:学生作业帮助网 编辑:六六作业网 时间:2024/07/10 06:12:53
PowerBuilder中count(*)是什么意思PowerBuilder中count(*)是什么意思PowerBuilder中count(*)是什么意思统计某数据表在某条件下的记录数.select

PowerBuilder中count(*)是什么意思
PowerBuilder中count(*)是什么意思

PowerBuilder中count(*)是什么意思
统计某数据表在某条件下的记录数.
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