1SQL::ReservedWords::DB2U(s3e)r Contributed Perl DocumentaStQiLo:n:ReservedWords::DB2(3)
2
3
4
6 SQL::ReservedWords::DB2 - Reserved SQL words by DB2
7
9 if ( SQL::ReservedWords::DB2->is_reserved( $word ) ) {
10 print "$word is a reserved DB2 word!";
11 }
12
14 Determine if words are reserved by DB2.
15
17 is_reserved( $word )
18 Returns a boolean indicating if $word is reserved by either DB2 5,
19 6, 7 or 8.
20
21 is_reserved_by_db2v5( $word )
22 Returns a boolean indicating if $word is reserved by DB2 5.
23
24 is_reserved_by_db2v6( $word )
25 Returns a boolean indicating if $word is reserved by DB2 6.
26
27 is_reserved_by_db2v7( $word )
28 Returns a boolean indicating if $word is reserved by DB2 7.
29
30 is_reserved_by_db2v8( $word )
31 Returns a boolean indicating if $word is reserved by DB2 8.
32
33 is_reserved_by_db2v9( $word )
34 Returns a boolean indicating if $word is reserved by DB2 9.
35
36 reserved_by( $word )
37 Returns a list with DB2 versions that reserves $word.
38
39 words
40 Returns a list with all reserved words.
41
43 Nothing by default. Following subroutines can be exported:
44
45 is_reserved
46 is_reserved_by_db2v5
47 is_reserved_by_db2v6
48 is_reserved_by_db2v7
49 is_reserved_by_db2v8
50 is_reserved_by_db2v9
51 reserved_by
52 words
53
55 SQL::ReservedWords
56
57 <http://www-306.ibm.com/software/data/db2/udb/>
58
60 Christian Hansen "chansen@cpan.org"
61
63 This program is free software, you can redistribute it and/or modify it
64 under the same terms as Perl itself.
65
66
67
68perl v5.34.0 2022-01-21 SQL::ReservedWords::DB2(3)