>cursor=select z from A where y<z I mean cursor=select x from A where y<z Steven ____________________________________________________ The LOST Ninja blog: Exclusive clues, clips and gossip. http://au.blogs.yahoo.com/lostninja