Hi Monica,
Since you are having read only access to DB, using a GEL based process could be one of the option, i.e. logic is build on the GEL script and the attribute is finally updated through a XOG.
Updating DB GEL script is not recommended and creation of stored procedure is not supported on SAAS db.
Hope this helps.
Regards,
Samik