Title: ALTER TABLE DROP FOREIGN KEY statement unable to parse · Issue #990 · JSQLParser/JSqlParser · GitHub
Open Graph Title: ALTER TABLE DROP FOREIGN KEY statement unable to parse · Issue #990 · JSQLParser/JSqlParser
X Title: ALTER TABLE DROP FOREIGN KEY statement unable to parse · Issue #990 · JSQLParser/JSqlParser
Description: Describe the bug Unable to parse ALTER TABLE DROP FOREIGN KEY statement. To Reproduce Steps to reproduce the behavior: ALTER TABLE schema_name.table_name DROP FOREIGN KEY example_FK Parsing this SQL using JSqlParser with this statements ...
Open Graph Description: Describe the bug Unable to parse ALTER TABLE DROP FOREIGN KEY statement. To Reproduce Steps to reproduce the behavior: ALTER TABLE schema_name.table_name DROP FOREIGN KEY example_FK Parsing this SQ...
X Description: Describe the bug Unable to parse ALTER TABLE DROP FOREIGN KEY statement. To Reproduce Steps to reproduce the behavior: ALTER TABLE schema_name.table_name DROP FOREIGN KEY example_FK Parsing this SQ...
Opengraph URL: https://github.com/JSQLParser/JSqlParser/issues/990
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ALTER TABLE DROP FOREIGN KEY statement unable to parse","articleBody":"**Describe the bug**\r\nUnable to parse ALTER TABLE DROP FOREIGN KEY statement.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. ALTER TABLE schema_name.table_name DROP FOREIGN KEY example_FK\r\n2. Parsing this SQL using JSqlParser with this statements\r\n3. Encountered unexpected token: \"FOREIGN\" \"FOREIGN\"\r\n at line 1, column 84.\r\n\r\nWas expecting one of:\r\n\r\n \"COLUMN\"\r\n \"CONSTRAINT\"\r\n \"INDEX\"\r\n \u003cS_IDENTIFIER>\r\n \u003cS_QUOTED_IDENTIFIER>\r\n\r\n\r\n**Expected behavior**\r\nShould be able to parse statement\r\n**System**\r\n - MYSQL 5.7\r\n- Java 8\r\n- JSqlParser version 3.2\r\n","author":{"url":"https://github.com/pravari1","@type":"Person","name":"pravari1"},"datePublished":"2020-06-10T21:45:22Z","url":"https://github.com/JSQLParser/JSqlParser/issues/990"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ebaf1025-ceea-a683-dff2-5adb3360a470 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6C2:3ABDFB:BC5AD3:1004B92:6B04892E |
| html-safe-nonce | ccd71d45f59da03d07fcd09b3c18208da24cfdbe45920340cd6924b594b1e6d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkMyOjNBQkRGQjpCQzVBRDM6MTAwNEI5Mjo2QjA0ODkyRSIsInZpc2l0b3JfaWQiOiI0ODc0NTYyMjUwOTQzNTMxMzEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d46a74cfac945ded4eee3ae38a76fdde17224f20e36855f1286ae3ca91929a31 |
| hovercard-subject-tag | issue:636569804 |
| 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/JSQLParser/JSqlParser/990/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c1782725d8ede258e20c7cbeaaaa8824284986044b827512ffc974f599cb905/JSQLParser/JSqlParser/issues/990 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c1782725d8ede258e20c7cbeaaaa8824284986044b827512ffc974f599cb905/JSQLParser/JSqlParser/issues/990 |
| og:image:alt | Describe the bug Unable to parse ALTER TABLE DROP FOREIGN KEY statement. To Reproduce Steps to reproduce the behavior: ALTER TABLE schema_name.table_name DROP FOREIGN KEY example_FK Parsing this SQ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pravari1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| turbo-cache-control | no-preview |
| go-import | github.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git |
| octolytics-dimension-user_id | 4643847 |
| octolytics-dimension-user_login | JSQLParser |
| octolytics-dimension-repository_id | 1944709 |
| octolytics-dimension-repository_nwo | JSQLParser/JSqlParser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1944709 |
| octolytics-dimension-repository_network_root_nwo | JSQLParser/JSqlParser |
| 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 | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width