Aracılığıyla paylaş


sp_validatemergesubscription (Transact-SQL)

Bir doğrulama belirtilen aboneliğinin gerçekleştirir.Bu saklı yordam, yayın Veritabanı yayımcısına sırasında yürütülür.

Topic link iconTransact-SQL sözdizimi kuralları

sp_validatemergesubscription [@publication=] 'publication'
        , [ @subscriber = ] 'subscriber'
        , [ @subscriber_db = ] 'subscriber_db'
        , [ @level = ] level

Bağımsız değişkenler

  • [@publication=] 'publication'
    Is the name of the publication.publication is sysname, with no default.

  • [ @subscriber= ] 'subscriber'
    Is the name of the Subscriber.subscriber is sysname, with no default.

  • [ @subscriber_db= ] 'subscriber_db'
    Is the name of the subscription database.subscriber_db is sysname, with no default.

  • [ @level= ] level
    Is the type of validation to perform.level is tinyint, with no default.Bu değerlerden birini düzey olabilir.

    Düzey değeri

    Açıklama

    1

    Yalnızca rowcount doğrulama.

    2

    Rowcount ve sağlama toplamı doğrulaması.

    3

    Rowcount ve ikili sağlama toplamı doğrulaması.This is only supported for Subscribers running Microsoft SQL Server 2000 or later.

Dönüş Kodu Değerleri

0 (başarılı) veya 1 (hata)

Remarks

sp_validatemergesubscription birleştirme çoğaltmasında kullanılır.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolü veya db_owner sabit veritabanı rolü çalıştırabilirsinizsp_validatemergesubscription.