Reserved sql words by mysql
if ( SQL::ReservedWords::MySQL->is_reserved( $word ) ) { print "$word is a reserved MySQL word!"; }
Determine if words are reserved by MySQL.
Returns a boolean indicating if $word is reserved by either MySQL 3.2, 4.0, 4.1, 5.0 or 5.1. Returns a boolean indicating if $word is reserved by MySQL 3.2. Returns a boolean indicating if $word is reserved by either MySQL 4.0 or 4.1. Returns a boolean indicating if $word is reserved by either MySQL 5.0 or 5.1. Returns a list with MySQL versions that reserves $word.
Returns a list with all reserved words.
Nothing by default. Following subroutines can be exported:
SQL::ReservedWords
<http://dev.mysql.com/doc/>
Christian Hansen \*(C`[email protected]\*(C'
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.