Oracle Solution for Error ora-03222

Solution for Oracle Error ORA-03222

ORA-03222: average row size and row count must be greater than zero

What triggered the Error:

Either a bad value passed to dbms_space.create_table_cost() or explain plan did not pass through size information.

What should we do to fix it:

Check the row size parameter in dbms_space.create_table_cost(). For explain plan, make sure statistics have been computed for all source tables in the CREATE TABLE AS SELECT statement.