CLovegren has asked for the wisdom of the Perl Monks concerning the following question:
The result is:$parser = SQL::Parser->new( 'ANSI', {RaiseError=>0,PrintError=>1} ) $stmt = SQL::Statement->new( 'SELECT 1 AS A FROM DUAL', $parser )
I'm currently using the most up-to-date versions of SQL::Parser (1.13) and SQL::Statement (1.15).
Any thoughts as to how I can get around this error? Is it possible to identify these types of statements as valid to the parser? Do I need to filter out all static columns from my query?
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Static Data, SQL::Parser
by renodino (Curate) on May 07, 2007 at 23:02 UTC | |
by CLovegren (Novice) on May 07, 2007 at 23:19 UTC | |
by renodino (Curate) on May 08, 2007 at 02:36 UTC | |
by CLovegren (Novice) on May 08, 2007 at 08:21 UTC | |
|
Re: Static Data, SQL::Parser
by jZed (Prior) on May 07, 2007 at 23:59 UTC | |
by CLovegren (Novice) on May 08, 2007 at 08:28 UTC | |
|
Re: Static Data, SQL::Parser
by FunkyMonk (Bishop) on May 07, 2007 at 22:31 UTC |