Здравствуйте, вопрос в следующем.
Осваиваю ADO. Читаю в инструкции про метод open объекта recordset. Значения параметра opions. Он задает, как нужно интерпретировать параметр source.
Цитата | Constant Description
adCmdText
Indicates that the provider should evaluate Source as a textual definition of a command.
adCmdTable
Indicates that ADO should generate an SQL query to return all rows from the table named in Source.
adCmdTableDirect
Indicates that the provider should return all rows from the table named in Source.
adCmdStoredProc
Indicates that the provider should evaluate Source as a stored procedure.
adCmdUnknown
Indicates that the type of command in the Source argument is not known.
adCommandFile
Indicates that the persisted (saved) Recordset should be restored from the file named in Source.
adExecuteAsync
Indicates that the Source should be executed asynchronously.
adFetchAsync Indicates that after the initial quantity specified in the CacheSize property is fetched, any remaining rows should be fetched asynchronously.
|
(там вообще-то таблица была, но не скопировалась)
Практически чем отличаются adCmdTable и adCmdTableDirect? Есть какие-то нюансы?
|