Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error occurs when running the script to update the data schema



Error occurs when running the script to update the data schema.

Error Messages

WARNING - Statement: ALTER TABLE TMPEGW71.pr_data

Steps to Reproduce

  1. Update from Pega 7.2.2 to 7.4
  2. Log in to the application
  3. Run the script

Root Cause

Duplicate pzinskey values are present in the pr_data table.


Perform the following local-change:
  1. Run the below query to get the duplicate pzinskey:

    select pzinskey from pr_data group GROUP BY pzinskey 
    HAVING COUNT(*) > 1; 

  2. Remove the duplicate entries from the table and resume the upgrade process


Published December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us