LIMIT TO must specify an unscaled fixed numeric Explanation: The "n" in LIMIT TO n ROWS must be a literal, parameter or host variable of an unscaled fixed numeric data type. User Action: Change the LIMIT TO clause to use an unscaled fixed numeric data type for the row limit, n.