PostgreSQL syntax check without running the query

前端 未结 8 1875
时光取名叫无心
时光取名叫无心 2020-12-24 05:03

I want to verify the syntax of files containing sql queries before they can be committed in my CVS project.

In order to do that, I have a commitinfo script, but I h

8条回答
  •  青春惊慌失措
    2020-12-24 05:53

    I'm usually use Mimer online SQL validator, the only thing is that it check SQL syntax for standard SQL :

    • SQL-92
    • SQL-99
    • SQL-03

    and not specific for the PostgreSQL ... However if you write code following the standard you can use it and it work well ...

提交回复
热议问题