Dbsyntax will check the syntax of SQL statements. Errors are printed to stdout along with the line that caused the error.