Oracle Error ORA-39163: A sample size of string is invalid.

Oracle Error Message

ORA-39163: A sample size of string is invalid.

Reason for the Error

An attempt was made to do data sampling on a table with a value outside of the range of 0 – 100.

Solution

Retry the filtering using a sampling number greater than 0 and less than 100.