Tuesday, 11 February 2020

SQL query to convert Comma/Colon separated List to Rows



        select  regexp_substr('san@abc.com; san@xyz.com','[^; ]+', 1, level) 
from dual
        connect by regexp_substr('san@abc.com; san@xyz.com', '[^; ]+', 1, level) is not null;

No comments:

Post a Comment