This seems to work: with rval as ( select trunc(dbms_random.value(1,500)) random_int from dual ) select r.random_int, t.* from test1 t, rval r where t.val1 = r.random_int / Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist Oracle Blog: http://jkstill.blogspot.com Home Page: http://jaredstill.com On Wed, Apr 28, 2010 at 7:40 AM, Taylor, Chris David < ChrisDavid.Taylor@xxxxxxxxxxxxxxx> wrote: > (First one didn't seem to go through to the list - resending as plain txt) > > DB Version: > Server 10.2.0.4 CPU24 Windows 64Bit > Client: > 10.2.0.4 CPU24 Windows 32bit > > I haven't researched this yet, but I'm curious why this might be happening. > >