How to break up an sql query?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mitchell Johnso
    New Member
    • Apr 2011
    • 1

    How to break up an sql query?

    I need to extract the table names and view names from some sql queries. I am using python and came across sqlparse which proved to be of no use. Let me know the solution if anyone knows how to do this.

    The queries can have multiple sub-queries or unions with other queries.
Working...