-2

Is there an example available which can help me to develop a parser to check whether a SQL statement is syntactically correct or not. Any source where I could learn to use parsing tools for the purpose?

  • The normal way of doing this is to use the database you are connected to, either in parse-only mode or to return a result set (which you ignore). – Gordon Linoff Jul 20 '15 at 17:20

1 Answers1

0

Examples of SQL parsers are available in all the open source SQL databases.

MySQL Postgres h2o