>I don't understand the
>
>Where ISNULL(recseq,52632) = 52632
>
>Remember, this is SPT accessing a db2 file.
O, sorry. That syntax I used is for SQL Server. I'm not sure what it should be for DB2, but I'm sure DB2 have the similar function to ISNULL(). That function should return the second parameter if the first is null.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.