In this script, a user with 'SYSADMIN' role is used to perform GeoTAX operation. Therefore,
these access rights are required to be granted to the
user.
grant ALL PRIVILEGES ON database PRESALES to role SYSADMIN;
grant ALL PRIVILEGES ON SCHEMA PRESALES to role SYSADMIN;
grant usage on function geotax_location(object) to sysadmin;
-- changing the requested role.
use role sysadmin;