Thaddy, thank you. Can you be more specific about database engine. I am using ODBC connection in the
Lazarus for connecting to MS SQL server database.
Please, can you give one example, how can I read from table the data with type "datetime2(7)",
for example '2017-06-01 10:57:48.3814412'.
Like I mentioned in previous post, the solution for now is to read this field type as string and then
convert in Lazarus with StrToDateTime(str,fmt) routine, where "str" is retrieved string from SQL table and "fmt" format
settings for conversation. But I don't know how can I define in fmt the character for fractional seconds, the 7 digits after
the dot.