taozhi8833998 / node-sql-parser

Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList and convert it back to SQL
https://taozhi8833998.github.io/node-sql-parser/
Apache License 2.0
818 stars 181 forks source link

Getting parsing error on query - SET standard_conforming_strings=on;SET client_min_messages TO warning;SET TIME ZONE INTERVAL '00:00' HOUR TO MINUTE; #2212

Closed shreesha1995 closed 2 weeks ago

shreesha1995 commented 2 weeks ago

Error - SyntaxError: Expected "--", "/*", ":=", "=", "TO", or [ \t\n\r] but "Z" found. This was a query sent to postgres db. Pg parser was used.