SQL::ReservedWords::DB2 - Reserved SQL words by DB2
if ( SQL::ReservedWords::DB2->is_reserved( $word ) ) {
print "$word is a reserved DB2 word!";
}
Determine if words are reserved by DB2.
- is_reserved( $word )
- Returns a boolean indicating if $word is reserved
by either DB2 5, 6, 7 or 8.
- is_reserved_by_db2v5( $word )
- Returns a boolean indicating if $word is reserved
by DB2 5.
- is_reserved_by_db2v6( $word )
- Returns a boolean indicating if $word is reserved
by DB2 6.
- is_reserved_by_db2v7( $word )
- Returns a boolean indicating if $word is reserved
by DB2 7.
- is_reserved_by_db2v8( $word )
- Returns a boolean indicating if $word is reserved
by DB2 8.
- is_reserved_by_db2v9( $word )
- Returns a boolean indicating if $word is reserved
by DB2 9.
- reserved_by( $word )
- Returns a list with DB2 versions that reserves
$word.
- words
- Returns a list with all reserved words.
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
SQL::ReservedWords
<http://www-306.ibm.com/software/data/db2/udb/>
Christian Hansen "chansen@cpan.org"
This program is free software, you can redistribute it and/or modify it under
the same terms as Perl itself.