Convenient routines to work with SQL_MODE