use a stored proc on creating indexes (GCP-8381)