User Tools

Site Tools


kurs:regex_demo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

kurs:regex_demo [2014/09/10 21:22] (current)
Line 1: Line 1:
 +<​code>​ 
 +PROCEDURE hr.regexp_demo 
 +   ( v_s IN varchar2) 
 +   IS 
 +BEGIN 
 + ​if ​ REGEXP_LIKE(v_s,​ '​^[[:​alpha:​]]{3}_'​) then 
 +   ​dbms_output.put_line(v_s ||' entspricht'​); ​   
 + ​else 
 +   ​dbms_output.put_line(v_s ||' entspricht NICHT!'​);​ 
 + end if; 
 +END; -- Procedure 
 +</​code>​
kurs/regex_demo.txt · Last modified: 2014/09/10 21:22 (external edit)