Chris, Hee hee! I get to trot out the good ol' BETWIXT pipelined table function, which you can use in 8i upwards. Source code is downloadable from "http://www.EvDBT.com/betwixt.sql"... SQL> select * from table(betwixt('15-APR-2006','20-APR-2006'));Hope this helps! -Tim Chris Stephens wrote: -- //www.freelists.org/webpage/oracle-lCan anyone think of a way to generate a list of years from say 1995 to the current year in straight sql? chris -- //www.freelists.org/webpage/oracle-l |