Delphi / ADO : WHich components? TADODataSet and TADOCommand or TADOQuery ?
Posted
by mawg
on Stack Overflow
See other posts from Stack Overflow
or by mawg
Published on 2010-06-01T08:34:53Z
Indexed on
2010/06/01
8:43 UTC
Read the original article
Hit count: 379
According to http://www.delphigroups.info/2/3/181838.html
The preferred approach with ADO components is to use TADODataSet and TADOCommand. TADOQuery (and TADOTable and TADOStoredProc) are provided for compatibility.
Use TADODataSet for SQL that returns result-sets and TADOCommand for SQL that does not.
I am a clueless n00b - who is about to code a lot of ADO stuph. Is that correct?
Which components should I use fop something which does/does not return a result?
© Stack Overflow or respective owner