开发者

How would I change the following script to exclude user names longer than six characters long?

开发者 https://www.devze.com 2023-03-08 09:14 出处:网络
select count(*) from fnd_user where end_date is null or end date >= sysdate; Thanks for your help.开发者_开发问答select count(*)

select count(*) from fnd_user where end_date is null or end date >= sysdate;

Thanks for your help.开发者_开发问答


select count(*)
from fnd_user
where (end_date is null or end_date >= sysdate)
and length(username) <= 6;


select count(*) from fnd_user where (end_date is null or end date >= sysdate)
and length(username) <= 6;
0

精彩评论

暂无评论...
验证码 换一张
取 消