SQLSTATE error code for "Syntax error or access rule violation".
const SQLSTATE_SYNTAX_ERROR = 42000;
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Driver!mysql!Connection.php/constant/Connection::SQLSTATE_SYNTAX_ERROR/8.1.x