I have a column in my table which has values like this
1923195445602;182343;en
or
1830310365602;175824;en;EVENT
Data is split by ";"
I want to select the second value of it. My thought is to find a way to treat this string as an array. Or is there a better way?
您可以使用select split_part(colname,';',2);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.