René's URL Explorer Experiment


Title: Indexes are not scripted correctly · Issue #166 · OpenDBDiff/OpenDBDiff · GitHub

Open Graph Title: Indexes are not scripted correctly · Issue #166 · OpenDBDiff/OpenDBDiff

X Title: Indexes are not scripted correctly · Issue #166 · OpenDBDiff/OpenDBDiff

Description: Read and complete the full issue template Do you want to request a feature or report a bug? Bug Feature Version of OpenDBDiff e.g. 0.13.0.0 What is the current behavior? it gives for triggers wrong script after compare What is the expect...

Open Graph Description: Read and complete the full issue template Do you want to request a feature or report a bug? Bug Feature Version of OpenDBDiff e.g. 0.13.0.0 What is the current behavior? it gives for triggers wrong...

X Description: Read and complete the full issue template Do you want to request a feature or report a bug? Bug Feature Version of OpenDBDiff e.g. 0.13.0.0 What is the current behavior? it gives for triggers wrong...

Opengraph URL: https://github.com/OpenDBDiff/OpenDBDiff/issues/166

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Indexes are not scripted correctly ","articleBody":"## Read and complete the full issue template\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\n- [x] Bug\r\n- [ ] Feature\r\n\r\n**Version of OpenDBDiff**\r\n\r\ne.g. 0.13.0.0\r\n\r\n**What is the current behavior?**\r\n\r\nit gives for triggers wrong script after compare \r\n\r\n**What is the expected behavior or new feature?**\r\n\r\nno error in script\r\n\r\n**Did this work in previous versions of our tool?  If so, in which versions?**\r\n\r\nNo\r\n\r\n## Reproducibility\r\ncreate a table\r\n\r\nCREATE TABLE [dbo].[_Orders](\r\n\t[Order_Id] [varchar](50) NOT NULL,\r\n\t[OnDate] [datetime] NOT NULL,\r\n\t[Client_Id] [varchar](50) NOT NULL,\r\n\t[Price] [varchar](50) NOT NULL\r\n) ON [PRIMARY]\r\n\r\nGO\r\n\r\nSET ANSI_PADDING OFF\r\nGO\r\n\r\nALTER TABLE [dbo].[_Orders] ADD  CONSTRAINT [DF__Orders_Order_Id]  DEFAULT (newid()) FOR [Order_Id]\r\nGO\r\n\r\nALTER TABLE [dbo].[_Orders] ADD  CONSTRAINT [DF__Orders_OnDate]  DEFAULT (getutcdate()) FOR [OnDate]\r\nGO\r\n\r\n\r\ncreate an index\r\n\r\nCREATE UNIQUE NONCLUSTERED INDEX [IX_Orders_Client_Id] ON [dbo].[_Orders] \r\n(\r\n\t[Client_Id] ASC,\r\n\t[Order_Id] ASC,\r\n\t[OnDate] DESC\r\n)\r\nINCLUDE ( [Price]) WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = ON, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]\r\nGO\r\n\r\n\r\nthen compare the database with and empty database\r\n\r\nand you will get this \r\n\r\nCREATE TABLE [dbo].[_Orders]\r\n(\r\n\t[Order_Id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF__Orders_Order_Id] DEFAULT (newid()),\r\n\t[OnDate] [datetime] NOT NULL CONSTRAINT [DF__Orders_OnDate] DEFAULT (getutcdate()),\r\n\t[Client_Id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,\r\n\t[Price] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL\r\n) ON [PRIMARY]\r\nGO\r\nCREATE UNIQUE NONCLUSTERED INDEX [IX_Orders_Client_Id] ON [dbo].[_Orders]\r\n(\r\n\t[Client_Id] ASC,\r\n\t[Order_Id] ASC,\r\n\t[OnDate] DESC\r\n) INCLUDE ([Price]) WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFFIGNORE_DUP_KEY = ON, , ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]\r\nGO\r\n\r\n\r\nthe error is that it is missing a comma after off and it as a comma to much after the next ON\r\n\r\n= OFFIGNORE_DUP_KEY = ON, , ALLOW_ROW_LOCKS\r\n\r\ncorrect would be \r\n\r\n--\u003e  = OFF, IGNORE_DUP_KEY = ON, ALLOW_ROW_LOCKS\r\n\r\n--\u003e\r\nINCLUDE ([Price]) WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = ON, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]\r\n\r\n","author":{"url":"https://github.com/salusalpha","@type":"Person","name":"salusalpha"},"datePublished":"2024-04-23T17:48:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/166/OpenDBDiff/issues/166"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f92e809b-9f33-438d-1b98-becb954fd8a5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA8F8:3B1D59:2A2679D:37B3271:6A5CD73F
html-safe-nonced96ac432dee58373434854ecd2e18b807c7b610f28dda232730d3683dbdc3bfe
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEY4OjNCMUQ1OToyQTI2NzlEOjM3QjMyNzE6NkE1Q0Q3M0YiLCJ2aXNpdG9yX2lkIjoiNTIwMjAxNzY3NDM0MDM5MDcxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbdb618a0b08f1ef350fcf92fbd6a795f40fdf4818c6bde254fd23b0c9238d13c
hovercard-subject-tagissue:2259432882
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/OpenDBDiff/OpenDBDiff/166/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e94784e00899d8b8ae62890dd1a2e9f51c104b9bc26310c0823e429115b88865/OpenDBDiff/OpenDBDiff/issues/166
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e94784e00899d8b8ae62890dd1a2e9f51c104b9bc26310c0823e429115b88865/OpenDBDiff/OpenDBDiff/issues/166
og:image:altRead and complete the full issue template Do you want to request a feature or report a bug? Bug Feature Version of OpenDBDiff e.g. 0.13.0.0 What is the current behavior? it gives for triggers wrong...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesalusalpha
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/OpenDBDiff/OpenDBDiff git https://github.com/OpenDBDiff/OpenDBDiff.git
octolytics-dimension-user_id26923633
octolytics-dimension-user_loginOpenDBDiff
octolytics-dimension-repository_id87295423
octolytics-dimension-repository_nwoOpenDBDiff/OpenDBDiff
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id87295423
octolytics-dimension-repository_network_root_nwoOpenDBDiff/OpenDBDiff
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/OpenDBDiff/OpenDBDiff/issues/166#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenDBDiff%2FOpenDBDiff%2Fissues%2F166
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenDBDiff%2FOpenDBDiff%2Fissues%2F166
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=OpenDBDiff%2FOpenDBDiff
Reloadhttps://github.com/OpenDBDiff/OpenDBDiff/issues/166
Reloadhttps://github.com/OpenDBDiff/OpenDBDiff/issues/166
Reloadhttps://github.com/OpenDBDiff/OpenDBDiff/issues/166
Please reload this pagehttps://github.com/OpenDBDiff/OpenDBDiff/issues/166
OpenDBDiff https://github.com/OpenDBDiff
OpenDBDiffhttps://github.com/OpenDBDiff/OpenDBDiff
Notifications https://github.com/login?return_to=%2FOpenDBDiff%2FOpenDBDiff
Fork 193 https://github.com/login?return_to=%2FOpenDBDiff%2FOpenDBDiff
Star 627 https://github.com/login?return_to=%2FOpenDBDiff%2FOpenDBDiff
Code https://github.com/OpenDBDiff/OpenDBDiff
Issues 44 https://github.com/OpenDBDiff/OpenDBDiff/issues
Pull requests 9 https://github.com/OpenDBDiff/OpenDBDiff/pulls
Actions https://github.com/OpenDBDiff/OpenDBDiff/actions
Projects https://github.com/OpenDBDiff/OpenDBDiff/projects
Security and quality 0 https://github.com/OpenDBDiff/OpenDBDiff/security
Insights https://github.com/OpenDBDiff/OpenDBDiff/pulse
Code https://github.com/OpenDBDiff/OpenDBDiff
Issues https://github.com/OpenDBDiff/OpenDBDiff/issues
Pull requests https://github.com/OpenDBDiff/OpenDBDiff/pulls
Actions https://github.com/OpenDBDiff/OpenDBDiff/actions
Projects https://github.com/OpenDBDiff/OpenDBDiff/projects
Security and quality https://github.com/OpenDBDiff/OpenDBDiff/security
Insights https://github.com/OpenDBDiff/OpenDBDiff/pulse
Indexes are not scripted correctly https://github.com/OpenDBDiff/OpenDBDiff/issues/166#top
https://github.com/salusalpha
salusalphahttps://github.com/salusalpha
on Apr 23, 2024https://github.com/OpenDBDiff/OpenDBDiff/issues/166#issue-2259432882
varcharhttps://github.com/OpenDBDiff/OpenDBDiff/issues/50
varcharhttps://github.com/OpenDBDiff/OpenDBDiff/issues/50
varcharhttps://github.com/OpenDBDiff/OpenDBDiff/issues/50
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.