主题:请教一个问题,关于sql语句的
我想在用sql语句查找符合条件的记录数,如下:
integer li_count = 0
select count(*) into :li_count
from users
where username = :ls_userid and password = :ls_password;
但查找的结果li_count总是0
请各位帮忙看看。
integer li_count = 0
select count(*) into :li_count
from users
where username = :ls_userid and password = :ls_password;
但查找的结果li_count总是0
请各位帮忙看看。