Oracle Error ORA-36340: (SNSYN130) The format of the PARTITIONCHECK function is: PARTITIONCHECK(aggmap, partition_template)

Oracle Error Message

ORA-36340: (SNSYN130) The format of the PARTITIONCHECK function is: PARTITIONCHECK(aggmap, partition_template)

Reason for the Error

Bad syntax

Solution

Correct syntax