Solution: In order to find the records we can use the query below, which will find you all records that contain non english alphabets and numbers.
SELECT EMPLOYEE_ID, FIRST_NAME FROM HR.EMPLOYEES WHERE NOT REGEXP_LIKE (FIRST_NAME,'[a-z,A-Z,0-9]');
To test the same, We updated one record from the EMPLOYEES table in HR Schema to an arabic text as seen below,
UPDATE HR.EMPLOYEES SET FIRST_NAME='اغراوال' WHERE EMPLOYEE_ID=183;
Arabic text in Employees table First Name column |
Query output |
No comments:
Post a Comment