Solved

SQL Parsing algorithm

Posted on 2002-03-06
6
759 Views
Last Modified: 2012-06-21
Now I try create some SQL builder.
And for this I need Paresing SQL statements and for this I need some algorithm.

Can anybody help me?
0
Comment
Question by:avr555
  • 2
  • 2
  • 2
6 Comments
 
LVL 4

Expert Comment

by:ct.smith
ID: 6844754
The book "lexx & yacc" (O'Reilly Press) has the complete code for an SQL parser.
0
 

Author Comment

by:avr555
ID: 6847182
Have you ane URL to find this book in electronical view?
0
 
LVL 4

Expert Comment

by:ct.smith
ID: 6848086
No, but its not all that expensive and relatively easy to find at bookstores.  It's also been around a while, so there's a chance that you may be able to borrowa copy from a library, friend, coworker, etc.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 19

Expert Comment

by:Kim Ryan
ID: 6851715
Of course the publisher will not give away their contents for free. But they do supply program code. Download http://examples.oreilly.com/lex/progs.zip and study sql1.y, sql2.y and sqltext.c

There is also a Perl based SQL parser at http://www.cpan.org/modules/by-module/SQL/SQL-Statement-1.003.tar.gz
0
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 100 total points
ID: 6855868
0
 

Author Comment

by:avr555
ID: 6856820
Sorry, I Need more theory about this.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
oracle query help 18 113
parse convert xml feed to text (python) 2 83
c++ reading data from file into two dimensional array 3 109
Auto-indent certain lines in Notepad++ 10 76
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question