It has to be int or null but because the SQL result is undefined (string) it needs to be converted on return if it is a numeric value, else null will be returned (it is the edit access id PK so it has to be numeric)