mvlaicov
9 years agoOccasional Contributor
How to use Update and delete SQL statements using ADO
I am attempting to "Clean" mySQL database before I start my functional test. I am hung up on executing insert and delete SQL statements on the database. I am able to connect and run queries through t...
- 9 years ago
Try, intead of Open, ExecSQL... Open attempts to open the query and return a record set... ExecSQL is used for queries that don't return a record set.
http://docwiki.embarcadero.com/VCL/XE/en/ADODB.TADOQuery.ExecSQL