Title: Can't migrate triggers · Issue #178 · dalibo/sqlserver2pgsql · GitHub
Open Graph Title: Can't migrate triggers · Issue #178 · dalibo/sqlserver2pgsql
X Title: Can't migrate triggers · Issue #178 · dalibo/sqlserver2pgsql
Description: Hello, While using your tool (pretty great btw), problems with triggers occurred : Warning: Trigger dbo].[OnDelRun ignored Line
Open Graph Description: Hello, While using your tool (pretty great btw), problems with triggers occurred : Warning: Trigger dbo].[OnDelRun ignored Line
X Description: Hello, While using your tool (pretty great btw), problems with triggers occurred : Warning: Trigger dbo].[OnDelRun ignored Line <ALTER TABLE [dbo].[Run] ENABLE TRIGGER [OnDelRun] > (2530) not...
Opengraph URL: https://github.com/dalibo/sqlserver2pgsql/issues/178
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't migrate triggers ","articleBody":"Hello, \r\n\r\nWhile using your tool (pretty great btw), problems with triggers occurred :\r\n\r\n```\r\nWarning: Trigger dbo].[OnDelRun ignored\r\nLine \u003cALTER TABLE [dbo].[Run] ENABLE TRIGGER [OnDelRun]\r\n\u003e (2530) not understood. This is a bug at sqlserver2pgsql.pl line 2551, \u003c$file\u003e line 2530.\r\n```\r\n\r\nHere is a sample of the migration script : \r\n\r\n```\r\n...\r\nSET ANSI_NULLS OFF\r\nGO\r\nSET QUOTED_IDENTIFIER OFF\r\nGO\r\n\r\n\r\nCREATE TRIGGER [dbo].[OnDelRun]\r\n ON [dbo].[Run]\r\n FOR DELETE\r\n AS\r\n BEGIN\r\n\t\tDISABLE TRIGGER [dbo].[OnInsUpdRun] ON [dbo].[Run];\r\n\t\tDISABLE TRIGGER [dbo].[OnInsUpdRunAnalysis] ON [dbo].[RunAnalysis];\r\n\r\n\t\t.......\r\n\r\n\t\tENABLE TRIGGER [dbo].[OnInsUpdRun] ON [dbo].[Run];\r\n\t\tENABLE TRIGGER [dbo].[OnInsUpdRunAnalysis] ON [dbo].[RunAnalysis];\r\n END\r\nGO\r\nALTER TABLE [dbo].[Run] ENABLE TRIGGER [OnDelRun] \r\nGO\r\n/****** Object: Trigger [dbo].[OnInsUpdRun] Script Date: 16/06/2023 09:50:58 ******/\r\nSET ANSI_NULLS OFF\r\nGO\r\nSET QUOTED_IDENTIFIER OFF\r\nGO\r\n....\r\n```\r\n\r\nIs there something particular to do or an option to activate ?\r\nThanks,\r\nAntonin","author":{"url":"https://github.com/AntoninPerrot","@type":"Person","name":"AntoninPerrot"},"datePublished":"2023-06-16T07:56:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/178/sqlserver2pgsql/issues/178"}
| 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:04bdd91d-dfb5-9e83-ef9c-8d65ec16c995 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDC2:2E3323:32A794A:45F4B4D:6977BE4E |
| html-safe-nonce | a20d2e0ab54afb04e67a845a2d2de725d85faedc41d1f3d0c1d7ba3f218eaf30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREMyOjJFMzMyMzozMkE3OTRBOjQ1RjRCNEQ6Njk3N0JFNEUiLCJ2aXNpdG9yX2lkIjoiMjQ2NzUwOTA0MTc0ODIyOTcxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7822321195801eb1ae1f0f22c6d01b4137dfe3ab2b0a3d0cc67d3ec3e7132fba |
| hovercard-subject-tag | issue:1760130387 |
| 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/dalibo/sqlserver2pgsql/178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/91a051760e18ee52576581818828e6acd0b751eb08303d024c59aef032678d92/dalibo/sqlserver2pgsql/issues/178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/91a051760e18ee52576581818828e6acd0b751eb08303d024c59aef032678d92/dalibo/sqlserver2pgsql/issues/178 |
| og:image:alt | Hello, While using your tool (pretty great btw), problems with triggers occurred : Warning: Trigger dbo].[OnDelRun ignored Line |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AntoninPerrot |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd7783bd9901db88bac6bc215af7f020bc205a04ebc67e6c7def882ef2859ecd |
| turbo-cache-control | no-preview |
| go-import | github.com/dalibo/sqlserver2pgsql git https://github.com/dalibo/sqlserver2pgsql.git |
| octolytics-dimension-user_id | 182275 |
| octolytics-dimension-user_login | dalibo |
| octolytics-dimension-repository_id | 12059094 |
| octolytics-dimension-repository_nwo | dalibo/sqlserver2pgsql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12059094 |
| octolytics-dimension-repository_network_root_nwo | dalibo/sqlserver2pgsql |
| 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 | 5d30081a77a5d66860584073cb38fd98fd7f9388 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width