View Issue Details

IDProjectCategoryView StatusLast Update
0006877SymmetricDSBugpublic2025-05-08 20:57
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status assignedResolutionopen 
Product Version3.13.0 
Target Version3.16.3 
Summary0006877: SQL Server DDL reader can cause default values to become invalid by attempting to unescape single quotes
DescriptionAfter reading a default value from the database metadata for a column with text-based data type, the SQL Server DDL reader unescapes the default value by replacing all instances of 2 consecutive single quotes with 1 single quote. In some cases, this can cause the default value to become invalid. For example, the following default value for a varchar column triggers this bug:

coalesce([column_0]+' ','')

There are many other DDL readers that run the same code to unescape default values, so this bug is not necessarily limited to the SQL Server DDL reader.
Tagsddl/schema

Activities

Issue History

Date Modified Username Field Change
2025-05-08 20:22 emiller New Issue
2025-05-08 20:22 emiller Status new => assigned
2025-05-08 20:22 emiller Assigned To => emiller
2025-05-08 20:22 emiller Tag Attached: ddl/schema
2025-05-08 20:57 emiller Note Added: 0002949