How to fix the Oracle error ORA-36165: (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property.?

In this post, you’ll learn more about the Oracle ErrorORA-36165: (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property. with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-36165: (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property.

Reason for the Error ORA-36165: (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property.

An attempt was made to add the $COUNTVAR property to a variable which already had an AGGCOUNT, or vice versa.

How to fix the Error ORA-36165: (XSAGGCNTPROP) Variable workspace object cannot have both an AGGCOUNT and the $COUNTVAR property. ?

You can fix this error in Oracle by following the below steps

Delete the already existing $COUNTVAR property or AGGCOUNT first.

Tags :

Leave Your Comment