Title: 100% utilised bug with decimal(10,8) · Issue #2 · SQLRockstar/BlogScripts · GitHub
Open Graph Title: 100% utilised bug with decimal(10,8) · Issue #2 · SQLRockstar/BlogScripts
X Title: 100% utilised bug with decimal(10,8) · Issue #2 · SQLRockstar/BlogScripts
Description: Found that changing the Decimal(10,8) to Decimal(20,8) fixed an issue I was having in this script when encountering an index range at 100%. CASE WHEN Max_Value > 9999999999999999999999999999999999999 THEN NULL ELSE CAST( CASE WHEN (Incre...
Open Graph Description: Found that changing the Decimal(10,8) to Decimal(20,8) fixed an issue I was having in this script when encountering an index range at 100%. CASE WHEN Max_Value > 99999999999999999999999999999999999...
X Description: Found that changing the Decimal(10,8) to Decimal(20,8) fixed an issue I was having in this script when encountering an index range at 100%. CASE WHEN Max_Value > 99999999999999999999999999999999...
Opengraph URL: https://github.com/SQLRockstar/BlogScripts/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"100% utilised bug with decimal(10,8)","articleBody":"Found that changing the Decimal(10,8) to Decimal(20,8) fixed an issue I was having in this script when encountering an index range at 100%. \r\n\r\nCASE\r\n \t\tWHEN Max_Value \u003e 9999999999999999999999999999999999999 THEN NULL \r\n\t\tELSE\r\n\t\t\tCAST(\r\n\t\t\t\tCASE WHEN (Increment_Value \u003e 0)\r\n\t\t\t\tTHEN (100)*(1.0-(CAST(Max_Value-Last_Value AS FLOAT)/CAST(Max_Value-Seed_Value + 1.0 AS FLOAT)))\r\n\t\t\t\tELSE (100)*(1.0-(CAST(Min_Value-Last_Value AS FLOAT)/CAST(Min_Value-Seed_Value + 1.0 AS FLOAT)))\r\n\t\t\t\tEND AS DECIMAL(20,8))\r\n\tEND AS [Current_Inserts_Used_Pct]","author":{"url":"https://github.com/tdesmaele","@type":"Person","name":"tdesmaele"},"datePublished":"2020-01-30T03:43:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/BlogScripts/issues/2"}
| 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:bebc5ccd-db60-ee9c-f5b8-156a51034c65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D67A:17B75A:1F8B0AE:2B40679:6A6092A8 |
| html-safe-nonce | afd05d1c8cc3d2147f2964d13e5c0a88519489da9010b48e847475a9ac9388ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjdBOjE3Qjc1QToxRjhCMEFFOjJCNDA2Nzk6NkE2MDkyQTgiLCJ2aXNpdG9yX2lkIjoiMjU3NTExMzgyOTU0NzU0NTI1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eb77dc3a003e156ac6772a07dc4c706e8c23576a746d45ec525cd305fe9ab889 |
| hovercard-subject-tag | issue:557248624 |
| 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/SQLRockstar/BlogScripts/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d7c334399cdd1483c89cc2cf0ef9ca03f264f9086e50fe57291311fafff96bc/SQLRockstar/BlogScripts/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d7c334399cdd1483c89cc2cf0ef9ca03f264f9086e50fe57291311fafff96bc/SQLRockstar/BlogScripts/issues/2 |
| og:image:alt | Found that changing the Decimal(10,8) to Decimal(20,8) fixed an issue I was having in this script when encountering an index range at 100%. CASE WHEN Max_Value > 99999999999999999999999999999999999... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tdesmaele |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5142d23feb6a650085422edf60d68c93777dfa6c4b0c9151eb464d3e4969f618 |
| turbo-cache-control | no-preview |
| go-import | github.com/SQLRockstar/BlogScripts git https://github.com/SQLRockstar/BlogScripts.git |
| octolytics-dimension-user_id | 12767999 |
| octolytics-dimension-user_login | SQLRockstar |
| octolytics-dimension-repository_id | 66100745 |
| octolytics-dimension-repository_nwo | SQLRockstar/BlogScripts |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 66100745 |
| octolytics-dimension-repository_network_root_nwo | SQLRockstar/BlogScripts |
| 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 | 6211071718785f6af328d66ee8cf4a7ce606987e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width