How can I check (My)SQL statements for syntactical correctness

前端 未结 4 1566
独厮守ぢ
独厮守ぢ 2021-02-07 02:00

we\'re currently setting up out integration server and during that process we\'ve set up pre-commit hooks on the SVN so that our developers can\'t check in files that are syntac

4条回答
  •  灰色年华
    2021-02-07 02:42

    I've written an CLI tool to syntax check SQL files using the phpMyAdmin SQL parser: php-sqllint.

提交回复
热议问题