Tuesday, January 1, 2008

predefined collections

If I need to generate 3 rows called AAA, BBB, CCC, I could use dual and union all. Another method is to use Extensibility Types

select * from table
(sys.ODCIVarchar2List('AAA','BBB','CCC'));

COLUMN_VALUE
------------
AAA
BBB
CCC

No comments:

Some/All/Major of the blog content is not mine and i'm not the writer of it, all rights reserved to the authors.