Jump to content

Dmitry Arefiev

Members
  • Content Count

    180
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Dmitry Arefiev


  1. https://docwiki.embarcadero.com/RADStudio/Athens/en/Using_SQLite_with_FireDAC#Adjusting_FireDAC_Mapping

    Quote

    For an expression in a SELECT list, SQLite avoids type name information. When the result set is not empty, FireDAC uses the value data types from the first record. When empty, FireDAC describes those columns as dtWideString. To explicitly specify the column data type, append ::<type name> to the column alias:

    
    SELECT count(*) as "cnt::INT" FROM mytab
    

     

    • Like 3

  2. You should set TFDPhysSQLiteDriverLink.EngineLinkage to slFDEStatic. Then check your uses clauses. Application should have only single unit from these:

    • FireDAC.Phys.SQLiteWrapper.FDEStat
    • FireDAC.Phys.SQLiteWrapper.SEEStat
    • FireDAC.Phys.SQLiteWrapper.Stat
×