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

datetime2 is incompatible with tinyint SQL Server and Pega 7.1.7

SA-21284

Summary



An AES 7.1.7 system has been installed on Pega7.1.7 using a MS SQL Server database.
The AES system appears to work; however, there are many occurrences of the error message in the log file.


Error Messages



Operand type clash datetime2 is incompatible with tinyint

Problem #1, SQLState S0002, Error code 206: com.microsoft.sqlserver.jdbc.SQLServerException: conflict of operand types: datetime2 is incompatible with tinyint

 

Steps to Reproduce



The issue can only be replicated when running AES 7.1.7 on a MS SQL Server database.
Start the server and the error appears in the log file when the administrator starts to navigate in the AES portal..

Root Cause



A defect in Pegasystems’ code or rules that affects the MS SQL Server Date column type

Resolution



Apply HFix-26993.
Alternatively, update or upgrade to Pega 7.1.8 or later release.

Related Content
SA-22335, 
https://pdn.pega.com/support-articles/operand-type-clash-datetime2-incompatible-tinyint
Resolved Issue 184842
DB2 DateTime conversion fixed

 
Suggest Edit

Published October 21, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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