read sql stmt to be parsed from cmd line