Any Java libraries out there that validate SQL syntax? [closed]
Perhaps you can use Antlr, it has a number of SQL grammars and a Java library, as well as plugins for various Java IDEs. Or as advised, use the parser of open source SQL utilities like SQuirreL SQL Client.