Could not execute SELECT substring(type, 2, 1) from date WHERE dateID = 135535 statement... maybe invalid?