sp_DropArticle

Advantage SQL Engine

Delete a published article from the database.

Syntax

sp_DropArticle(

PublicationName,CHARACTER,200,

ObjectName,CHARACTER,200 )

 

Parameters

PublicationName (I)

Name of the publication object that contains the article to delete.

ObjectName (I)

The name of the article to delete from the specified publication.

Special Return Codes

AE_INVALID_OBJECT_NAME

The publication specified by PublicationName cannot be located in the data dictionary, or the article specified by ObjectName does not exist in the publication.

Remarks

sp_DropArticle removes an existing article from a publication.

Example

EXECUTE PROCEDURE sp_DropArticle( 'mypub', 'table1' )

 

See Also

sp_CreateArticle

sp_DropPublication