I'm currently trying to write a python notebook to live in AGOL that will calculate a field based on other fields.
For whatever reason, the expression has to be written in SQL
calc_expression=[{"field": "Fieldname", "sqlExpression" : ""}]
Is there a list anywhere of which SQL commands will work? From experimenting I can see that CONCAT works fine, but I have a need to add leading zeros to a number and the RIGHT, LPAD and FORMAT commands all throw errors