Re: Oracle sql function SPLIT?
- From: Joe Weinstein <joeNOSPAM@xxxxxxx>
- Date: Thu, 04 May 2006 11:16:03 -0700
Alex wrote:
Does it exist?
I need prepared statement like this:
select split(?) from dual
which for parameter like '1 2 3' returns 3 rows
1
2
3
and for parameter 'a b c d' returns 4 rows
a
b
c
d
Any idea how to do this?
Alex.
For an argument that can have any number of entries, it
would take some *very* fancy PL-SQL to do it, if at all possible.
The much better way would be to simply parse the string into
it's bits in java. Why do you need it from the DBMS?
Joe Weinstein at BEA Systems
.
- References:
- Oracle sql function SPLIT?
- From: Alex
- Oracle sql function SPLIT?
- Prev by Date: Re: Oracle sql function SPLIT?
- Next by Date: Re: Oracle sql function SPLIT?
- Previous by thread: Re: Oracle sql function SPLIT?
- Next by thread: loadDataFromFile() method not working
- Index(es):