This procedure may return different results for the same input (because account data changes). If a procedure always returns the same result for the same input, mark it DETERMINISTIC so the optimizer can cache results.