Created
January 21, 2016 05:25
-
-
Save YasuakiHirano/69062c7c16f88b783e77 to your computer and use it in GitHub Desktop.
oracle hankaku kana check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET SERVEROUTPUT ON | |
DECLARE | |
vstr varchar2(256):= 'ヒラノ'; | |
BEGIN | |
IF (REGEXP_LIKE(vstr, '^([ヲ-゚]|[0-9A-Za-z])*$')) THEN | |
dbms_output.put_line('OK'); | |
ELSE | |
dbms_output.put_line('NG'); | |
END IF; | |
END; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment