SYNOPSIS

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

DESCRIPTION

Determine if words are reserved by \s-1ANSI/ISO\s0 \s-1SQL\s0 standard.

METHODS

Returns a boolean indicating if $word is reserved by either \*(C`SQL:1992\*(C', \*(C`SQL:1999\*(C' or \*(C`SQL:2003\*(C'. Returns a boolean indicating if $word is reserved by \*(C`SQL:1992\*(C'. Returns a boolean indicating if $word is reserved by \*(C`SQL:1999\*(C'. Returns a boolean indicating if $word is reserved by \*(C`SQL:2003\*(C'. Returns a list with \s-1SQL\s0 standards 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_sql1992
is_reserved_by_sql1999
is_reserved_by_sql2003
reserved_by
words

RELATED TO SQL::ReservedWords…

SQL::ReservedWords::DB2

SQL::ReservedWords::MySQL

SQL::ReservedWords::ODBC

SQL::ReservedWords::Oracle

SQL::ReservedWords::PostgreSQL

SQL::ReservedWords::SQLite

SQL::ReservedWords::SQLServer

\s-1ISO/IEC\s0 9075:1992 Database languages \*(-- \s-1SQL\s0

\s-1ISO/IEC\s0 9075-2:1999 Database languages \*(-- \s-1SQL\s0 \*(-- Part 2: Foundation (SQL/Foundation)

\s-1ISO/IEC\s0 9075-2:2003 Database languages \*(-- \s-1SQL\s0 \*(-- Part 2: Foundation (SQL/Foundation)

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.