Re: RFC: SQL::Preprocessor - a SQL filter for Perl
From: Dean Arnold (darnold_at_presicient.com)
Date: 07/26/04
- Next message: Nikolay Ananiev: "Re: Re: DBD::Informix Win32 problem"
- Previous message: Mike Schienle: "Re: Drivers that support server-prepare-statements?"
- In reply to: Jeff Zucker: "Re: RFC: SQL::Preprocessor - a SQL filter for Perl"
- Next in thread: Tim Bunce: "Re: RFC: SQL::Preprocessor - a SQL filter for Perl"
- Reply: Tim Bunce: "Re: RFC: SQL::Preprocessor - a SQL filter for Perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jul 2004 11:13:02 -0700 To: Jeff Zucker <jeff@vpservices.com>
Jeff Zucker wrote:
> Dean Arnold wrote:
>
>> - embedded SQL syntax for various databases
>> - possible feature requests/needs for optimal
>> Perl integration
>> - alternate namespace suggestions
>
>
> Are you actually going to be parsing SQL, or just looking for "EXEC SQL"
> and grabbing the SQL and feeding it to the drivers? If you're going to
> be parsing SQL, let's talk - I'm (slowly) rewriting SQL::Statement in
> Parse::Yapp and would be glad to collaborate in any way that would be
> helpful. If you're not going to be parsing SQL (other than to know
> where the statements begin and end), then I suggest a name more along
> the lines of SQL::Exec or SQL::Inline.
>
After some consideration, probably both.
I.e., if its just a std. SQL statement (SELECT, UPDATE, INSERT, DELETE etc),
then SQL::Preproc would recognize the intro keyword (required to be uppercase)
and parse the SQL. If a platform has some non-std extension, then the
EXEC SQL prefix would be required to pick it up.
RE: dbish...yes, you may be right...something for me to ponder
on the drive up to Portland...I guess I'm trying to come at perl
from the perspective of a 17 year SQL hacker, but relative perl
acolyte (well, hopefully more a journeyman now).
Being able to jump into perl to do database stuff by just
inserting the SQL statements, knowing a few implicitly
defined variables, and a minimal perl syntax for control flow,
might be a gentler introduction.
On the other hand, I might just be out of my tiny little mind...
- Dean
- Next message: Nikolay Ananiev: "Re: Re: DBD::Informix Win32 problem"
- Previous message: Mike Schienle: "Re: Drivers that support server-prepare-statements?"
- In reply to: Jeff Zucker: "Re: RFC: SQL::Preprocessor - a SQL filter for Perl"
- Next in thread: Tim Bunce: "Re: RFC: SQL::Preprocessor - a SQL filter for Perl"
- Reply: Tim Bunce: "Re: RFC: SQL::Preprocessor - a SQL filter for Perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|