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

Cannot execute generated SQL code



After creating the application, unable to import it to another environment. DB2 is the database vendor.

Error Messages

On the database side:
DB2 SQL Error: SQLCODE=-104, SQLSTATE=42601

Steps to Reproduce

  1. Import the product.
  2. Execute the SQL

Root Cause

A defect in Pegasystems’ code or rules.
The Pega generated SQL syntax was incorrect.


This feature is implemented in Pega Platform 8.1.8.

Published April 10, 2020 - Updated 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