sql - How to make result set from ('1','2','3')? -
I have a question, how can I assume that the result can only be set to list the prices For example, I have such values: ('1', '2', '3')
and I have to make a SQL that gives such a table:
1 2 3
Thanks.
[edit]
Sorry for the wrong question. Actually there is no integer in the list, but there are strings in it I currently need ('A', 'BB,' CC).
[/ edit]
The best way I found is by using XML Used to be . (
SELECT items.extract ('/ l / text ()'). From the table (XML Format (extract (XML type ('' 'Replice' (AA, BB, CC ',
Wish I can take credit, but regret ..
P> What does this actually do is convert the list into XML document and then parsing it back.
Comments
Post a Comment