Database manipulation

I want to modify data entered in the database:
I want to convert phone numbers to a uniform format.
I want to assign some character fields

Are there examples scripts around for progress (open edge 10.B03) that
can be used as a template for such tasks.
This is a action that can be done from a script/procedure editor