Einzelnen Beitrag anzeigen

Der schöne Günther

Registriert seit: 6. Mär 2013
6.110 Beiträge
 
Delphi 10 Seattle Enterprise
 
#6

AW: Welche DB für Desktop App mit Community Ed.?

  Alt 22. Feb 2022, 19:13
SQLite. (...)
Nur ich glaube Transaktionen gehen damit nicht und Verletzungen von Datentypen
werden auch nicht konsequent als Fehler behandelt.
Doch, Transaktionen gehen bestens. Wir reden über FireDAC als Zugriffsmechanismus, richtig?
Die Sache mit "Verletzung" von Datentypen liegen ja eher an Sqlite selbst.

Zitat:
SQLite strives to be flexible regarding the datatype of the content that it stores. For example, if a table column has a type of "INTEGER", then SQLite tries to convert anything inserted into that column into an integer. So an attempt to insert the string '123' results in an integer 123 being inserted. But if the content cannot be losslessly converted into an integer, for example if the input is 'xyz', then the original string is inserted instead.
PS: Seit Ende 2021 hat Sqlite auch einen "Strict" Mode. Den muss ich unbedingt mal ausprobieren.
Mehr Infos hier:
https://www.sqlite.org/stricttables.html
  Mit Zitat antworten Zitat