Given this definition:
[Column('Notiz', [TColumnProp.Lazy])]
[DBTypeWideMemo] FNotiz: TBlob;
When I update the table and NOTIZ is set to NULL, I get an error:
Im Projekt RezeptSchnittstelle.exe ist eine Exception der Klasse EAureliusOdbcException mit der Meldung 'Error -1: [Microsoft][ODBC Driver 11 for SQL Server]Invalid precision value' aufgetreten.
Below is the SQL as well as the Values:
Debug-Ausgabe:
[14.01.2020 13:51:26][Trace][Value: UPDATE TBLXMLImport SET
HerkunftCD = :A_HerkunftCD,
LebensmittelCD = :A_LebensmittelCD,
Bezeichnung = :A_Bezeichnung,
Modus = :A_Modus,
Notiz = :A_Notiz
WHERE ID = :p_5][Type: string]
Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_HerkunftCD = "BLS3.02" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_LebensmittelCD = "K718100" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Bezeichnung = "Steinpilz roh" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Modus = "M" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Notiz = NULL (ftWideMemo)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: p_5 = "5" (ftInteger)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Erste Gelegenheit f?r Exception bei $759720D2. Exception-Klasse EAureliusOdbcException mit Meldung 'Error -1: [Microsoft][ODBC Driver 11 for SQL Server]Invalid precision value'. Prozess RezeptSchnittstelle.exe (6040)
[14.01.2020 13:51:26][Trace][Value: UPDATE TBLXMLImport SET
HerkunftCD = :A_HerkunftCD,
LebensmittelCD = :A_LebensmittelCD,
Bezeichnung = :A_Bezeichnung,
Modus = :A_Modus,
Notiz = :A_Notiz
WHERE ID = :p_5][Type: string]
Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_HerkunftCD = "BLS3.02" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_LebensmittelCD = "K718100" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Bezeichnung = "Steinpilz roh" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Modus = "M" (ftString)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: A_Notiz = NULL (ftWideMemo)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Debug-Ausgabe: [14.01.2020 13:51:26][Trace][Value: p_5 = "5" (ftInteger)][Type: string] Prozess RezeptSchnittstelle.exe (6040)
Erste Gelegenheit f?r Exception bei $759720D2. Exception-Klasse EAureliusOdbcException mit Meldung 'Error -1: [Microsoft][ODBC Driver 11 for SQL Server]Invalid precision value'. Prozess RezeptSchnittstelle.exe (6040)
What is the Problem here?
Thanks!