taozhi8833998 / node-sql-parser

Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList and convert it back to SQL

Home Page:https://taozhi8833998.github.io/node-sql-parser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DROP TABLE IF EXISTS not supported in build/Postgres

carloslfu opened this issue · comments

DROP TABLE IF EXISTS statement is not supported by the Postgres build. Here is an example:

DROP TABLE IF EXISTS table_name;

The error that appears is:

Screenshot 2024-06-03 at 9 11 05 PM

@carloslfu Sorry for that, fixed it.