Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Marpa::XS for SQL INSERTs?

by nikosv (Hermit)
on Jan 06, 2012 at 15:33 UTC ( #946615=note: print w/ replies, xml ) Need Help??


in reply to Marpa::XS for SQL INSERTs?

You could try using ANTLR which is generally recommended for parsing SQL mainly because of SQL's peculiar syntax rules

There are example sql grammars online

Then have a look at Using ANTLR and PerlXS to Generate a Parser on how to integrate the resulting parser into Perl

But,I don't know if it is worth the trouble for just parsing an INSERT


Comment on Re: Marpa::XS for SQL INSERTs?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://946615]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2014-08-29 22:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls