Changes between Version 9 and Version 10 of Docs/Prog/Manual/ApplicationLibraries/lib825db


Ignore:
Timestamp:
10/23/25 07:14:17 (3 weeks ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825db

    v9 v10  
    5353}}}
    5454
     55Existing apps with have sql execute statements such as:
     56{{{
     57int ct;
     58string sql = "SELECT COUNT(*) FROM [Trucks];";
     59db.execute(sql, ct);
     60}}}
     61
     62Repace with:
     63{{{
     64int ct;
     65string sql = "SELECT COUNT(*) FROM Trucks;";
     66appDB->Execute(sql, ct);
     67}}}
     68To support both SQLite and MySQL the brackets must be removed from table and field names in SQL statements.