The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

grepTSQL.pl - Greps for TSQL statements in a SQL Script. The search is performed case-insensitively across multiple lines Uses TSQL::SplitStatement to determine what is and is not a statement. In brief, anything that can contain another simpler statement is *NOT* a statement. E.G. CREATE PROCEDURE is not by itself, a complete statement, as it contains other TSQL statements.

VERSION

1.0.0

USAGE

grepTSQL.pl -r <regexp>

REQUIRED ARGUMENTS

-r[e][gexp] [=] <regexp>

Specify regular expressions to match (Or-ed together)

OPTIONS

-ex_r[e][gexp] [=] <ex_regexp>

Specify regular expressions to exclude (Or-ed together), these are applied after the match expressions

AUTHOR

Ded MedVed.

BUGS

Hopefully none.

COPYRIGHT

Copyright (c) 2013, Ded MedVed. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License (see http://www.perl.com/perl/misc/Artistic.html)