Restrictions
In order to create a UDM by issuing a DDL statement (such as a CREATE METHOD...) through OLE DB Provider for Teradata, the file specified in the DDL (for example, the file containing the source code to the UDM) must reside on the Teradata Database node. If this file is instead located on a client system, then the call to ICommand::Execute() (to execute the DDL) returns E_FAIL.