Unprepared Commands Required
When using multiple parameter sets, do not prepare commands before execution. If the consumer calls the ICommandPrepare::Prepare method and then executes ICommand::Execute, OLE DB Provider for Teradata returns the error code and error message described above.