Connect by to generate rows
I just want to clarify something today : I do not like the connect by level select * from dual connect by level select * from dual connect by level
I just want to clarify something today : I do not like the connect by level select * from dual connect by level select * from dual connect by level
Put your code in <code> and </code> tags
November 17th, 2005 at 21:25
For what it’s worth, I concur with your assessment of “DUAL CONNECT BY LEVEL
November 17th, 2005 at 22:59
note that in production, I would recommend creating “lookup” tables if appropriate.
For datawarehouse, prefer using dimension tables, as described in the
datawarehouse guide
, if I need to outer join with each day of the year, or each minute, I create the relevant table and insert each values than join with that fix table. It can be partitioned, or IOT, and it is highly scalable.
Generating the rows is not “better” than using a fixed lookup table. Check what is the most appropriate.
thanks for your comment, I greatly appreciate
December 17th, 2005 at 13:01
Sali Laurent hope you yre doing fine. Your profile is at moment not complete. So it is a bit difficult to accuit you.
Thanks Ben.
December 18th, 2005 at 08:20
Thanks ben for your comment.
What is missing in my profile?