Oracle Solution for Error ora-36664

Solution for Oracle Error ORA-36664

ORA-36664: (XSDPART02) You must specify a partitioning method and one or more partition dimensions when defining a PARTITION TEMPLATE.

What triggered the Error:

User tried to define a PARTITION TEMPLATE without a PARTITION BY clause.

What should we do to fix it:

Add a PARTITION BY clause.