Search the web
Sign In
New User? Sign Up
oo4ole · Oracle Objects for OLE (OO4O) Users List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to generate fibonacci series in Oracle.   Message List  
Reply | Forward Message #1862 of 1863 |

How to generate fibonacci series in Oracle.

Way 1:

with data as (select level levels from dual
connect by level <= &how_may_rows)
select f from data
model dimension by (levels)
measures ( 0 f)
rules ( f[1] = 0 , f[2] = 1 , f[levels>2]=f[cv(levels)-2]+f[cv(levels)-1]
);

Enter value for how_may_rows: 10

Details in http://arjudba.blogspot.com/2008/10/how-to-generate-fibonacci-series-in.html
 
http://arjudba.blogspot.com


Send instant messages to your online friends http://uk.messenger.yahoo.com

Sat Oct 18, 2008 11:38 am

a_arju
Online Now Online Now
Send Email Send Email

Forward
Message #1862 of 1863 |
Expand Messages Author Sort by Date

How to generate fibonacci series in Oracle. Way 1: with data as (select level levels from dual connect by level <= &how_may_rows) select f from data model...
m arju
a_arju
Online Now Send Email
Oct 18, 2008
11:38 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help