I am curious if anyone can shed some light on this subject.
In the help file in Access under the CommandTypeEnum heading, it lists (among other options) adCmdTable and adCmdTableDirect along with the descriptions of these options:
adCmdTable : Evaluates CommandText as a table name whose columns are all returned by an internally generated SQL query.
adCmdTableDirect: Evaluates CommandText as a table name whose columns are all returned.
My question is: What is the real difference here? It would seem that they are the same. I realize by wording that one is generated by an internally generated SQL query. What does that mean in terms of use? When would I choose one over the other for efficiency?
Thanks in advance.
Phil Edwards
In the help file in Access under the CommandTypeEnum heading, it lists (among other options) adCmdTable and adCmdTableDirect along with the descriptions of these options:
adCmdTable : Evaluates CommandText as a table name whose columns are all returned by an internally generated SQL query.
adCmdTableDirect: Evaluates CommandText as a table name whose columns are all returned.
My question is: What is the real difference here? It would seem that they are the same. I realize by wording that one is generated by an internally generated SQL query. What does that mean in terms of use? When would I choose one over the other for efficiency?
Thanks in advance.
Phil Edwards