An error occurred while replacing the random elements of the selected SQL query. The random elements are text of the form "%m-n%" which are replaced by a random integer value in the range m through n.
Try confirming that the random elements have been specified using the correct syntax.