Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

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.

Troubleshooting: "Maximum number of columns" warning when creating a Circumstance Definition rule

Updated on September 10, 2021

When saving a Circumstance Definition, or when saving a rule with a single Circumstance Property, you may receive a warning stating you have exceeded the maximum number of columns.

The wording of this warning depends upon the vendor software that hosts your Pega database:

 

Database type

Warning

Oracle

Problem executing SQL to update database schema: code: 1792 SQLState: 42000 Message: ORA-01792: maximum number of columns in a table or view is 1000

MSSQL 2000

CREATE TABLE failed because column ‘%.*ls’ in table ‘%.*ls’ exceeds the maximum of ## columns.

Example: 

System.Data.SqlClient.SqlException: CREATE TABLE failed because column '_Test1' in table 'TestAccountsProperties' exceeds the maximum of 1024 columns.

DB2

SQL code -680:  Too many columns are specified for a table, view, or table function.

Solution

Workaround

This warning indicates that you have hit the limit on the number of columns allowed in the circumstance index table. 

This is a limitation of the databases themselves (not Pega Platform™), and there is no workaround.  You may continue to save Circumstance Definition rules and rules circumstanced by a property, but the Find by Circumstance report on rules will no longer be updated with new circumstance information.

Have a question? Get answers now.

Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us