NAME
SQL::ReservedWords::Oracle - Reserved SQL words by Oracle
SYNOPSIS
if ( SQL::ReservedWords::Oracle->is_reserved( $word ) ) {
die "$word is a reserved Oracle word!";
}
# or
use SQL::ReservedWords::Oracle 'is_reserved';
if ( is_reserved( $word ) ) {
die "$word is a reserved Oracle word!";
}
DESCRIPTION
Determine if words are reserved by Oracle Database.
METHODS
- is_reserved( $word )
-
Returns a boolean indicating if
$word
is reserved by either Oracle7, Oracle8i, Oracle9i or Oracle10g. - is_reserved_by_oracle7( $word )
-
Returns a boolean indicating if
$word
is reserved by Oracle7. - is_reserved_by_oracle8( $word )
-
Returns a boolean indicating if
$word
is reserved by Oracle8i. - is_reserved_by_oracle9( $word )
-
Returns a boolean indicating if
$word
is reserved by Oracle9i. - is_reserved_by_oracle10( $word )
-
Returns a boolean indicating if
$word
is reserved by Oracle10g. - reserved_by( $word )
-
Returns a list with Oracle 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_oracle7
- is_reserved_by_oracle8
- is_reserved_by_oracle9
- is_reserved_by_oracle10
- reserved_by
- words
SEE ALSO
http://www.oracle.com/technology/documentation/index.html
AUTHOR
Christian Hansen ch@ngmedia.com
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.