SYNOPSIS

   if ( SQL::ReservedWords::DB2->is_reserved( $word ) ) {
       print "$word is a reserved DB2 word!";
   }

DESCRIPTION

Determine if words are reserved by \s-1DB2\s0.

METHODS

Returns a boolean indicating if $word is reserved by either \s-1DB2\s0 5, 6, 7 or 8. Returns a boolean indicating if $word is reserved by \s-1DB2\s0 5. Returns a boolean indicating if $word is reserved by \s-1DB2\s0 6. Returns a boolean indicating if $word is reserved by \s-1DB2\s0 7. Returns a boolean indicating if $word is reserved by \s-1DB2\s0 8. Returns a boolean indicating if $word is reserved by \s-1DB2\s0 9. Returns a list with \s-1DB2\s0 versions that reserves $word.

words

Returns a list with all reserved words.

EXPORTS

Nothing by default. Following subroutines can be exported:

is_reserved
is_reserved_by_db2v5
is_reserved_by_db2v6
is_reserved_by_db2v7
is_reserved_by_db2v8
is_reserved_by_db2v9
reserved_by
words

RELATED TO SQL::ReservedWords::DB2…

SQL::ReservedWords

http://www-306.ibm.com/software/data/db2/udb/ <http://www-306.ibm.com/software/data/db2/udb/>

AUTHOR

Christian Hansen \*(C`[email protected]\*(C'

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.