mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #11] NULL values are not handled correctly in INSERT and UPDATE statemens #145
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#145
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cinzko on GitHub (Jun 4, 2016).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/11
When a column contains NULL values the INSERT statement always genereates quotes with an empty string.
This can be fixed in "\DBDiff\SQLGen\DiffToSQL\InsertDataSQL"
by replacing
with
and also in "\DBDiff\SQLGen\DiffToSQL\UpdateDataSQL" by replacing
with
@hawle commented on GitHub (Jul 7, 2016):
+1 please merge!!
@jasdeepkhalsa commented on GitHub (Jul 8, 2016):
Fixed in https://github.com/DBDiff/DBDiff/pull/12