Title: Issues with procedures containing multiple queries. · Issue #8 · timogasda/python-sqlparser · GitHub
Open Graph Title: Issues with procedures containing multiple queries. · Issue #8 · timogasda/python-sqlparser
X Title: Issues with procedures containing multiple queries. · Issue #8 · timogasda/python-sqlparser
Description: Hi, I've been having issues with queries with multiple statements. I tested using the java library and got the expected output. Example Code import sqlparser query = """select * from table1; select * from table24""" parser = sqlparser.Pa...
Open Graph Description: Hi, I've been having issues with queries with multiple statements. I tested using the java library and got the expected output. Example Code import sqlparser query = """select * from table1; select...
X Description: Hi, I've been having issues with queries with multiple statements. I tested using the java library and got the expected output. Example Code import sqlparser query = """select * ...
Opengraph URL: https://github.com/timogasda/python-sqlparser/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issues with procedures containing multiple queries.","articleBody":"Hi,\n\nI've been having issues with queries with multiple statements. I tested using the java library and got the expected output. \n\nExample Code\n\n```\nimport sqlparser\n\nquery = \"\"\"select * from table1;\n select * from table24\"\"\"\n\nparser = sqlparser.Parser()\n\nif parser.check_syntax(query) == 0:\n for i in xrange(0,parser.get_statement_count(query)):\n print(i)\n stmt = parser.get_statement(i)\n root = stmt.get_root()\n print(root.get_text())\n```\n\nExpected output\n\n```\n0\nselect * from table1\n1\nselect * from table2\n```\n\nActual output\n\n```\n0\nselect * from table1\n1\nct * from table1;\n```\n\nI've had a look at the source, but haven't had much luck getting started on finding the issue. Do you have any guidance for me?\n\nThanks.\n","author":{"url":"https://github.com/JimmyAustin","@type":"Person","name":"JimmyAustin"},"datePublished":"2016-08-01T14:54:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8/python-sqlparser/issues/8"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6bb71cc3-43b9-a751-6761-d87ede64c70f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE06:96DF2:C53EE9:1005541:697F71BC |
| html-safe-nonce | e0933d6022304219f9605a6aaad2088de471d6f8e868b3b4c9e82c2744eb5684 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTA2Ojk2REYyOkM1M0VFOToxMDA1NTQxOjY5N0Y3MUJDIiwidmlzaXRvcl9pZCI6Ijg3NDM3NTQ1OTk3NTM1NDQxMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | afcef63cda2a99036c1fa78e15ad92077265153b2d8388a6f4cc25f7793cb6cc |
| hovercard-subject-tag | issue:168665642 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/timogasda/python-sqlparser/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/da29b49971ec2bc980b712ecd907920d8e99090d76292b1798b186d20903941f/timogasda/python-sqlparser/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da29b49971ec2bc980b712ecd907920d8e99090d76292b1798b186d20903941f/timogasda/python-sqlparser/issues/8 |
| og:image:alt | Hi, I've been having issues with queries with multiple statements. I tested using the java library and got the expected output. Example Code import sqlparser query = """select * from table1; select... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JimmyAustin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/timogasda/python-sqlparser git https://github.com/timogasda/python-sqlparser.git |
| octolytics-dimension-user_id | 2446349 |
| octolytics-dimension-user_login | timogasda |
| octolytics-dimension-repository_id | 20052915 |
| octolytics-dimension-repository_nwo | timogasda/python-sqlparser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20052915 |
| octolytics-dimension-repository_network_root_nwo | timogasda/python-sqlparser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width