sp_DropPublication

Advantage SQL Engine

Delete a publication object from the database.

Syntax

sp_DropPublication( PublicationName,CHARACTER,200 )

 

Parameters

PublicationName (I)

Name of the publication object to delete.

Special Return Codes

AE_INVALID_OBJECT_NAME

The publication specified by PublicationName cannot be located in the data dictionary, or the publication is in use by one or more subscriptions.

Remarks

AdsDDDeletePublication removes an existing publication from the database.

Example

EXECUTE PROCEDURE sp_DropPublication( 'mypub' )

 

See Also

sp_CreatePublication

sp_ModifySubscriptionProperty

sp_DropSubscription