Is there a function ready in Firebird 2.5 that is the inverse of the list function?
When you do a
select list(campo,',') from tabela
I want to get the value of a field in a single column separated by a comma, I wanted a function that separated the field varchar
into several columns
tabelax
codigo informacao
1 'alfa, beta, gama'
2 'delta, peta, omega'
When doing select codigo,comando(informacao,',') as inf from tabelax
it returns:
codigo inf
1 alfa
1 beta
1 gama
2 delta
2 peta
2 omega