SQL::ReservedWords::DB2 - Reserved SQL words by DB2
if ( SQL::ReservedWords::DB2->is_reserved( $word ) ) { die "$word is a reserved DB2 word!"; } # or use SQL::ReservedWords::DB2 'is_reserved'; if ( is_reserved( $word ) ) { die "$word is a reserved DB2 word!"; }
Determine if words are reserved by DB2.
Returns a boolean indicating if $word is reserved by either DB2 5, 6, 7 or 8.
$word
Returns a boolean indicating if $word is reserved by DB2 5.
Returns a boolean indicating if $word is reserved by DB2 6.
Returns a boolean indicating if $word is reserved by DB2 7.
Returns a boolean indicating if $word is reserved by DB2 8.
Returns a list with DB2 versions that reserves $word.
Returns a list with all reserved words.
Nothing by default. Following subroutines can be exported:
SQL::ReservedWords
http://www-306.ibm.com/software/data/db2/udb/
Christian Hansen ch@ngmedia.com
ch@ngmedia.com
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install SQL::ReservedWords::DB2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::ReservedWords::DB2
CPAN shell
perl -MCPAN -e shell install SQL::ReservedWords::DB2
For more information on module installation, please visit the detailed CPAN module installation guide.