Title: RESUMABLE in ALTER TABLE (Transact-SQL) reports not valid option · Issue #125 · microsoft/SqlScriptDOM · GitHub
Open Graph Title: RESUMABLE in ALTER TABLE (Transact-SQL) reports not valid option · Issue #125 · microsoft/SqlScriptDOM
X Title: RESUMABLE in ALTER TABLE (Transact-SQL) reports not valid option · Issue #125 · microsoft/SqlScriptDOM
Description: Version - 170.28.0 The following query mentioned in ALTER TABLE (Transact-SQL) reports the following error while parsing using TSql160Parser . Tried it with TSql160Parser, as well as 150 and 140, just to make sure. Error : Option 'RESUMA...
Open Graph Description: Version - 170.28.0 The following query mentioned in ALTER TABLE (Transact-SQL) reports the following error while parsing using TSql160Parser . Tried it with TSql160Parser, as well as 150 and 140, j...
X Description: Version - 170.28.0 The following query mentioned in ALTER TABLE (Transact-SQL) reports the following error while parsing using TSql160Parser . Tried it with TSql160Parser, as well as 150 and 140, j...
Opengraph URL: https://github.com/microsoft/SqlScriptDOM/issues/125
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RESUMABLE in ALTER TABLE (Transact-SQL) reports not valid option","articleBody":"**Version - 170.28.0**\n\nThe following [query](https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-table-transact-sql?toc=%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Ftoc.json\u0026bc=%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Fbreadcrumb%2Ftoc.json\u0026view=azure-sqldw-latest\u0026preserve-view=true#k-add-a-primary-key-with-resumable-operation) mentioned in [ALTER TABLE (Transact-SQL)](https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-table-transact-sql?toc=%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Ftoc.json\u0026bc=%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Fbreadcrumb%2Ftoc.json\u0026view=azure-sqldw-latest\u0026preserve-view=true) reports the following error while parsing using `TSql160Parser` . Tried it with `TSql160Parser`, as well as `150` and `140`, just to make sure.\n\n**Error :** `Option 'RESUMABLE' is not a valid index option in 'ALTER TABLE' statement.`\n\n**Steps to reproduce**\n\n```\n static void Main(string[] args)\n {\n var script = @\"\nALTER TABLE table1\nADD CONSTRAINT PK_Constrain PRIMARY KEY CLUSTERED (a)\nWITH (ONLINE = ON, MAXDOP = 2, RESUMABLE = ON, MAX_DURATION = 240);\n\";\n\n var parser = new TSql160Parser(true, 0);\n var fragment = parser.Parse(new StringReader(script), out var parseErrors);\n\n if (parseErrors.Count \u003e 0)\n {\n Console.WriteLine(parseErrors[0].Message);\n }\n }\n```","author":{"url":"https://github.com/naveennaik1","@type":"Person","name":"naveennaik1"},"datePublished":"2025-03-21T07:38:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/125/SqlScriptDOM/issues/125"}
| 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:dd2a468a-7aba-fea7-e5e1-6c83070ad9d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB00:1D2AD7:A436C4:D22543:6990F1DB |
| html-safe-nonce | c7d7e89988d1565bafd738b9a0a20a09156fddf5225c3cff6ffba524fe956541 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjAwOjFEMkFENzpBNDM2QzQ6RDIyNTQzOjY5OTBGMURCIiwidmlzaXRvcl9pZCI6IjQxNzAzODUyOTg4MzQ5MTE3MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 75898c196f33a6ca52ad96127d5fe27a48d0f51c0ca25c774a4ac532f25d5162 |
| hovercard-subject-tag | issue:2937573674 |
| 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/microsoft/SqlScriptDOM/125/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7f1c513af44f2e0bd8db10b4b7922b2e89ca62feec771a87da5ea4bb81f2eb63/microsoft/SqlScriptDOM/issues/125 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7f1c513af44f2e0bd8db10b4b7922b2e89ca62feec771a87da5ea4bb81f2eb63/microsoft/SqlScriptDOM/issues/125 |
| og:image:alt | Version - 170.28.0 The following query mentioned in ALTER TABLE (Transact-SQL) reports the following error while parsing using TSql160Parser . Tried it with TSql160Parser, as well as 150 and 140, j... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | naveennaik1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/SqlScriptDOM git https://github.com/microsoft/SqlScriptDOM.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 543316377 |
| octolytics-dimension-repository_nwo | microsoft/SqlScriptDOM |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 543316377 |
| octolytics-dimension-repository_network_root_nwo | microsoft/SqlScriptDOM |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width