• No reason you couldnt create a user defined function to do the work. Should be fine to discourage casual snooping, just dont rely on it for anything more!

    We've got an ongoing discussion about Oracle vs SQL in one of our discussion areas - maybe you could share your thoughts?

    Andy