@alfasin svaret er godt, men hvis du bruger 11g, kan det blive nemmere:
select name,
REGEXP_count(name,'\d') as num_count,
REGEXP_count(name,'[a-zA-Z]') as char_count,
from test6;
@alfasin svaret er godt, men hvis du bruger 11g, kan det blive nemmere:
select name,
REGEXP_count(name,'\d') as num_count,
REGEXP_count(name,'[a-zA-Z]') as char_count,
from test6;