Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle split string

-- Splits a comma separated string into rows
SELECT regexp_substr('SARAH,JOE,PIMPO,LOUIS', '[^,]+', 1, LEVEL)
FROM DUAL
CONNECT BY regexp_substr('SARAH,JOE,PIMPO,LOUIS', '[^,]+', 1, LEVEL) IS NOT NULL;
Comment

PREVIOUS NEXT
Code Example
Sql :: mssql get running queries 
Sql :: list index mysql cli 
Sql :: postgresql transaction discard all 
Sql :: connect mysql docker 
Sql :: change table to innodb mysql 
Sql :: convert uniqueidentifier to varchar in sql 
Sql :: inner join just one row 
Sql :: mysql add 2 hours 
Sql :: mysql int range 
Sql :: truncate table 
Sql :: alter table change default 
Sql :: create temporary table in mysql 
Sql :: how to delete table sqlite 
Sql :: FIND OUT THE NAME HIGHEST SALARY SQL 
Sql :: find most frequent value in sql column 
Sql :: adding a check statement in sql 
Sql :: difference between where and having clause 
Sql :: sql drop database statement 
Sql :: backup ms sql database table data to file 
Sql :: query concatenate 
Sql :: oracle sql create view 
Sql :: data types sql 
Sql :: sql server format datetime 
Sql :: how to change the value of a table in sql 
Sql :: mysql config user password 
Sql :: postgres create type 
Sql :: how to add unique key constraint in mysql 
Sql :: tsql row number 
Sql :: mssql find deadlocks 
Sql :: insert data from another table 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =