SQL::ReservedWords::DB2(3pm)

SQL::ReservedWords::DB23pm

Reserved sql words by db2

Usage

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

Overview

Determine if words are reserved by DB2.

Methods

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.

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

Releases

9 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0–7
  2. 8
  3. 9–10
  4. 11
  5. 12–13

Author

Christian Hansen "[email protected]"

From libsql-reservedwords-perl 0.8-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.