Drops an OData Producer.
DROP ODATA PRODUCER [ IF EXISTS ] name
Removes the definition of the OData Producer and all of its options from the system tables. Use this statement only when you want to delete the configuration data of the OData Producer. If you want to temporarily disable the OData Producer, then execute the following statement:
ALTER ODATA PRODUCER name NOT ENABLED;
Use the IF EXISTS clause if you do not want an error returned when the DROP ODATA PRODUCER statement attempts to remove an OData Producer that does not exist.
You must have the MANAGE ODATA system privilege.
If the OData server is running, then the specified producer is shut down.
To drop the OData Producer named prod, execute the following statement:
DROP ODATA PRODUCER prod;