-
-
30 Aug 2012 12:37:55 UTC
- Distribution: SQL-ReservedWords
- Module version: 0.8
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (6045 / 1 / 0)
- Kwalitee
Bus factor: 1- 100.00% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (27.28KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Sub::Exporter
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
SQL::ReservedWords - Reserved SQL words by ANSI/ISO
SYNOPSIS
if ( SQL::ReservedWords->is_reserved( $word ) ) { print "$word is a reserved SQL word!"; }
DESCRIPTION
Determine if words are reserved by ANSI/ISO SQL standard.
METHODS
- is_reserved( $word )
-
Returns a boolean indicating if
$word
is reserved by eitherSQL:1992
,SQL:1999
orSQL:2003
. - is_reserved_by_sql1992( $word )
-
Returns a boolean indicating if
$word
is reserved bySQL:1992
. - is_reserved_by_sql1999( $word )
-
Returns a boolean indicating if
$word
is reserved bySQL:1999
. - is_reserved_by_sql2003( $word )
-
Returns a boolean indicating if
$word
is reserved bySQL:2003
. - reserved_by( $word )
-
Returns a list with SQL 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
SEE ALSO
SQL::ReservedWords::PostgreSQL
ISO/IEC 9075:1992 Database languages -- SQL
ISO/IEC 9075-2:1999 Database languages -- SQL -- Part 2: Foundation (SQL/Foundation)
ISO/IEC 9075-2:2003 Database languages -- SQL -- Part 2: Foundation (SQL/Foundation)
AUTHOR
Christian Hansen
chansen@cpan.org
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install SQL::ReservedWords, copy and paste the appropriate command in to your terminal.
cpanm SQL::ReservedWords
perl -MCPAN -e shell install SQL::ReservedWords
For more information on module installation, please visit the detailed CPAN module installation guide.