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