I would like to create a query where I select all records which contain characters that are not a-z or A-Z
so something like this
SELECT * FROM mytable
Try this:
select * from T_PARTNER where C_DISTRIBUTOR_TYPE_ID = 6 and translate(C_PARTNER_ID, '.1234567890', '.') is null;