Yes, write a PL/SQL function.
"The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb
Forum Rules