is it possible to use Derby's SQL parser
to "extract" dependencies from a given SQL statement?
(or access the parser once the statement
has been parsed).
Whether it's a simple SELECT or a JOIN,
UNION or a more complex statement, I would like to get a list of tables
that this statement would depend on.
Looking for FROM clauses and attempting
to do the parsing myself seems like a difficult, error prone and impractical
way to approach this.
Any suggestions, please?
Jefferies archives and monitors outgoing and incoming e-mail. The contents of this email, including any attachments, are confidential to the ordinary user of the email address to which it was addressed. If you are not the addressee of this email you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. This email may be produced at the request of regulators or in connection with civil litigation. Jefferies accepts no liability for any errors or omissions arising as a result of transmission. Use by other than intended recipients is prohibited. In the United Kingdom, Jefferies operates as Jefferies International Limited; registered in England: no. 1978621; registered office: Vintners Place, 68 Upper Thames Street, London EC4V 3BJ. Jefferies International Limited is authorised and regulated by the Financial Services Authority.