If you are using Sequencing on the messageId can you do
seqname.nextval, seqname.lastval...



[Edited by sonaliak on 05-21-2001 at 11:32 AM]