STOP SUBSCRIPTION statement

Function

Use this statement to stop a subscription for a user to a publication.

Syntax

STOP SUBSCRIPTION

 

TO publication-name [ ( subscription-value) ]

 

FOR subscriber-id , . . .

Parameters

 

Parameter

Description

 

 

 

 

publication-name

The name of the publication to which the user is be-

 

 

ing subscribed. This may include the owner of the

 

 

publication.

 

subscription-value

A string that is compared to the subscription expression

 

 

of the publication. The value is required here because

 

 

each subscriber may have more than one subscription to

 

 

a publication.

 

subscriber-id

The user ID of the subscriber to the publication. This

 

 

user must have a subscription to the publication.

Permissions

Must have DBA authority.

Side effects

Automatic commit.

 

See also

“STOP SUBSCRIPTION statement [SQL Remote]” [ASA SQL Reference,

page 636]

“CREATE SUBSCRIPTION statement” on page 358 “SYNCHRONIZE SUBSCRIPTION statement” on page 377

376

Page 394
Image 394
Sybase DC38133-01-0902-01 manual Stop Subscription statement