1SQL::ReservedWords(3) User Contributed Perl DocumentationSQL::ReservedWords(3)
2
3
4
6 SQL::ReservedWords - Reserved SQL words by ANSI/ISO
7
9 if ( SQL::ReservedWords->is_reserved( $word ) ) {
10 print "$word is a reserved SQL word!";
11 }
12
14 Determine if words are reserved by ANSI/ISO SQL standard.
15
17 is_reserved( $word )
18 Returns a boolean indicating if $word is reserved by either
19 "SQL:1992", "SQL:1999" or "SQL:2003".
20
21 is_reserved_by_sql1992( $word )
22 Returns a boolean indicating if $word is reserved by "SQL:1992".
23
24 is_reserved_by_sql1999( $word )
25 Returns a boolean indicating if $word is reserved by "SQL:1999".
26
27 is_reserved_by_sql2003( $word )
28 Returns a boolean indicating if $word is reserved by "SQL:2003".
29
30 reserved_by( $word )
31 Returns a list with SQL standards that reserves $word.
32
33 words
34 Returns a list with all reserved words.
35
37 Nothing by default. Following subroutines can be exported:
38
39 is_reserved
40 is_reserved_by_sql1992
41 is_reserved_by_sql1999
42 is_reserved_by_sql2003
43 reserved_by
44 words
45
47 SQL::ReservedWords::DB2
48
49 SQL::ReservedWords::MySQL
50
51 SQL::ReservedWords::ODBC
52
53 SQL::ReservedWords::Oracle
54
55 SQL::ReservedWords::PostgreSQL
56
57 SQL::ReservedWords::SQLite
58
59 SQL::ReservedWords::SQLServer
60
61 ISO/IEC 9075:1992 Database languages -- SQL
62
63 ISO/IEC 9075-2:1999 Database languages -- SQL -- Part 2: Foundation
64 (SQL/Foundation)
65
66 ISO/IEC 9075-2:2003 Database languages -- SQL -- Part 2: Foundation
67 (SQL/Foundation)
68
70 Christian Hansen "chansen@cpan.org"
71
73 This program is free software, you can redistribute it and/or modify it
74 under the same terms as Perl itself.
75
76
77
78perl v5.28.0 2018-07-15 SQL::ReservedWords(3)