Quantcast
Channel: Bring text before the second special character in SQL - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Alexander Klimenko for Bring text before the second special character in SQL

$
0
0

Another option using regexp:

SELECT REGEXP_SUBSTR(<YOUR_COLUMN>, '^[^:]*:[^:]*') FROM <YOUR_TABLE>;

Viewing all articles
Browse latest Browse all 3

Trending Articles