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