1SQL::ReservedWords::SQLUSseerrveCro(n3t)ributed Perl DocSuQmLe:n:tRaetsieornvedWords::SQLServer(3)
2
3
4
6 SQL::ReservedWords::SQLServer - Reserved SQL words by SQL Server
7
9 if ( SQL::ReservedWords::SQLServer->is_reserved( $word ) ) {
10 print "$word is a reserved SQL Server word!";
11 }
12
14 Determine if words are reserved by SQL Server.
15
17 is_reserved( $word )
18 Returns a boolean indicating if $word is reserved by SQL Server 7,
19 2000 or 2005.
20
21 is_reserved_by_sqlserver7( $word )
22 Returns a boolean indicating if $word is reserved by SQL Server 7.
23
24 is_reserved_by_sqlserver2000( $word )
25 Returns a boolean indicating if $word is reserved by SQL Server
26 2000.
27
28 is_reserved_by_sqlserver2005( $word )
29 Returns a boolean indicating if $word is reserved by SQL Server
30 2005.
31
32 reserved_by( $word )
33 Returns a list with SQL Server versions that reserves $word.
34
35 words
36 Returns a list with all reserved words.
37
39 Nothing by default. Following subroutines can be exported:
40
41 is_reserved
42 is_reserved_by_sqlserver7
43 is_reserved_by_sqlserver2000
44 is_reserved_by_sqlserver2005
45 reserved_by
46 words
47
49 http://msdn2.microsoft.com/en-us/library/ms130214.aspx
50
52 Christian Hansen "chansen@cpan.org"
53
55 This program is free software, you can redistribute it and/or modify it
56 under the same terms as Perl itself.
57
58
59
60perl v5.36.0 2023-01-20 SQL::ReservedWords::SQLServer(3)