in reply to Split command

Honestly, I have no idea of what you are trying to do...

Perhaps you could write what SQL query you want to execute? And where does Perl fit into all of this?

Luke