Don't quote numeric values in grid export as SQL. See: http://www.heidisql.com/forum.php?t=4885

This commit is contained in:
Ansgar Becker
2010-01-22 08:54:25 +00:00
parent 813b857098
commit a5a1e138b8

View File

@ -1194,9 +1194,10 @@ begin
// Remove 0x.
if GridData.Columns[i].DatatypeCat = dtcBinary then Delete(Data, 1, 2);
// Unformat numeric values
if GridData.Columns[i].DatatypeCat in [dtcInteger, dtcReal] then Data := UnformatNumber(Data);
// Add data and cell end tag.
tmp := tmp + esc(Data);
if GridData.Columns[i].DatatypeCat in [dtcInteger, dtcReal] then
tmp := tmp + UnformatNumber(Data)
else
tmp := tmp + esc(Data);
end;
tmp := tmp + ', ';
end;