Running database query for cleanup
Before you upgrade Marketing Operations, run the database query to remove duplicate project request ids, if any.
Run the query in your database and remove all the results return by this query to ensure the successful upgrade of Marketing Operations.
Complete the following steps to run the database query for cleanup:
1.
Open your database console that has Marketing Operations system tables.
2.
 SELECT proj_request_id, count(proj_request_id) num
FROM uap_projects
WHERE proj_request_id in (SELECT project_id FROM uap_projects WHERE
state_code = 'ACCEPTED')
group by proj_request_id
having count(proj_request_id) > 1"
3.