Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

wrong result of 11gR2 Recursive with clause

Aketi JyuuzouApr 8 2010 — edited Apr 8 2010
This thread is continued from 1056886
select * from v$version;

BANNER
-------------------------------------------------------
Oracle Database 11g Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
with rec(dayc,LV) as(
select cast(date '2010-04-15' as date),1 from dual
union all
select cast(dayc+1 as date),LV+1
  from rec
 where LV<= 3)
select * from rec;

DAYC             LV
--------  ---------
10-04-15          1
10-04-14          2
10-04-13          3
10-04-12          4
Why column DAYC is decreased ?
I think correct resultSet is below
DAYC             LV
--------  ---------
10-04-15          1
10-04-16          2
10-04-17          3
10-04-18          4
This post has been answered by MichaelS on Apr 8 2010
Jump to Answer

Comments

Hi,

look for RAC Starter Kits in Metalink. These contain best practices for setup + an installation step by step:

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=810394.1

Furthermore read the documentation:
http://www.oracle.com/pls/db112/to_toc?pathname=install.112/e10815/toc.htm

Regards
Sebastian
Ronny Egner
mount: nas1:/shared_data on /u01/oradata - WARNING unknown option "tcp"
The option "tcp" is not recognized. Check the man page.
nfs mount: nas1:/shared_data: Permission denied
Your NFS server denies the mount. This is a configuration issue on the NFS server.

--
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 6 2010
Added on Apr 8 2010
6 comments
2,634 views